representation.getText() blocks indefinitely

2007-07-12 Thread Gunter Wambaugh
I'm trying to evaulate restlets for an organization that I work for but I'm stuck on something I probably shouldn't be and time is short, so here goes: When I do a post, the getText() method will block indefinitely. I've tested with both curl and commons-httpclient. The curl call: curl -X PUT

Re: representation.getText() blocks indefinitely

2007-07-12 Thread Jerome Louvel
Hi Gunter, I don't see anything obvious, this should work. 1) Which HTTP server connector are you using? 2) Can you make GETs work at least? 3) Which version of Restlet are you using? 4) Are you sure that your CardResource2 is hit by the request? 5) Have you tried POSTing instead of PUTing? If

Re: representation.getText() blocks indefinitely

2007-07-12 Thread Gunter Wambaugh
Wambaugh [mailto:[EMAIL PROTECTED] Envoyé : jeudi 12 juillet 2007 20:24 À : discuss@restlet.tigris.org Objet : Re: representation.getText() blocks indefinitely The following curl didn't help much. Thanks for trying, tho :). curl -X PUT -H Content-Type: text/plain -d some data http

RE: representation.getText() blocks indefinitely

2007-07-12 Thread Jerome Louvel
connectors as described in the document pointed to by Thierry. Best regards, Jerome -Message d'origine- De : Thierry Boileau [mailto:[EMAIL PROTECTED] Envoyé : jeudi 12 juillet 2007 21:42 À : discuss@restlet.tigris.org Objet : Re: representation.getText() blocks indefinitely yes it's