I can't seem to read the content from a response. I have following client code (partially): // Define Client Resource cr = new ClientResource(URI);
// Authenticate ... // Get it! Representation rep = cr.get( MediaType.TEXT_PLAIN); In my HTTPDebugger I see following response: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Language: nl Date: Fri, 23 Jul 2010 12:28:41 GMT Accept-Ranges: bytes Server: Restlet-Framework/2.0rc4 Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept Content-Type: text/plain;charset=US-ASCII Content-Length: 28 liS7KZ1yItSbNTVQDnwVsaCt9oE= I can't seem to read the content (liS7KZ1yItSbNTVQDnwVsaCt9oE=): rep.getText() returns null ! or rep.write(response.getOutputStream()); returns also null. What am I doing wrong ? I use similar code to read responses from other (PUT/POST/DELETE) requests and that works fine. Any ideas ? S. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2637336

