Thanks for the reply. I've create a maven 2 project with a test to show the
problem. I've uploaded the project and opened issue #458.
http://restlet.tigris.org/issues/show_bug.cgi?id=458
I listed it under the jetty connector, but the servlet one seems wrong as well.
Hi Jeff,
If a status is not in error, the Servlet API doesn't allow the setting of a
reason phrase. Actually, there was a method for this case which was
deprecated:
javax.servlet.http.HttpServletResponse.html#setStatus(int,String)
Now, in case of error (like a 400), we instead call the
2 matches
Mail list logo