Hello Denis,
I was not able to reproduce your problem.
I create a simple "Hello World!" application on one side, and on the
other side, I used Telnet to request the server by only supplying the
following information :
GET /app HTTP/1.1
Host: test
Server sends the correct response and no Exception seems to be launched
(and I've checked that on server side that the user-agent is null).
However, as I use the current release
(http://www.restlet.org/downloads/current.zip), this issue may have been
fixed.
Could you tell us more about the context?
Best regards,
Thierry Boileau
1.0RC3 seems to require a request to have a User-Agent header. If
not, I get a 500 error in response.
This would seem to contradict
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43 :
"User agents SHOULD include this field with requests." (as opposed to
MUST).
Thanks,
dwh