Using Restlet 1.1.10 and the Jetty connector (com.noelios.restlet.ext.jetty
1.1.10) deployed as a standalone application, if I set the status to "200
Foo" the response comes back as "200 OK".

This is not the expected behavior - is it?

I have found the location of the problem - in the
com.noelios.restlet.ext.jetty.JettyCall class, sendResponse method, the else
reads:

getConnection().getResponse().setStatus(getStatusCode());

It should read:

getConnection().getResponse().setStatus(getStatusCode(), getReasonPhrase());

Should I open an issue for this?
-- 
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Unable-to-set-Reason-Phrase-on-successful-request-using-Jetty-tp5149332p5149332.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2618021

Reply via email to