Re: setting a status description never shows up in the response?

2008-03-06 Thread Jeff Brekke
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.

RE: setting a status description never shows up in the response?

2008-03-05 Thread Jerome Louvel
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