On 2010-02-12 17.52, Thierry Boileau wrote:
> Hello Rickard,
>
> this may be due to the way you build the "reference" variable.
> Could you tell us a bit more about this?

The reference is built by consecutively doing:
Reference subReference = reference.clone().addSegment( pathSegment 
).addSegment( "" );

I start with the root of the app, and then as the client traverse down 
it creates new sub-references by using the above code. So, whenever I 
look at a particular reference it shows that it is only the last segment.

Funny thing is that the same thing works if I do client.get(). It's only 
client.delete() that crashes with the exception. So somehow how it 
extracts the URL and sends it to the HttpConnector seems to be different 
between the two.

/Rickard

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

Reply via email to