Hi guys, I'm using Release 1.0.7 of the restlet API. I see a troubling response when I set a 401 error response using the API
See here.. Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. GET /apiserver/ <html> <head> <title>Status page</title> </head> <body> <h3>The request requires user authentication</h3><p>You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2">here</a>.<br/> Please continue your visit at our <a href="/">home page</a>. </p> </body> </html> I don't quite see any responses that give me a 401 status code, seems to spit encapsulate everything in HTML. I expect to see something like this: HTTP/1.0 401 UNAUTHORIZED Server: SokEvo/1.0 Date: Sat, 27 Nov 2004 10:18:15 GMT WWW-Authenticate: Basic realm="SokEvo" Content-Type: text/html Content-Length: 311 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <HTML> <HEAD> <TITLE>Error</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> </HEAD> <BODY><H1>401 Unauthorised.</H1></BODY> </HTML> ------------------ I'm doing a simple : response.setStatus(Status.CLIENT_ERROR_UNAUTHORIZED); Seems this API doesn't like to go low level enough to touch the headers and raw information manually, which is disappointing. I like everything raw like sushi Thanks in advance for your words of advice or wisdom

