Hi - 

Should #resetEntity be called automatically for long lived sessions ?  I see 
that it is called automatically for HEAD and DELETE methods.


If you do a 

|client | 
client:=ZnClient new.
client get: 'http://example.com/getPath'
client inspect
client post: 'http://example.com' contents:'My Contents'
client inspect.
client get: 'http://example.com/getPath'
client inspect.
client close.


and then look at the changed headers between the first and last GET you can see 
that the body from the POST was sent in the 2nd GET request.  I can't think of 
a time when you'd want that, generally.  

Maybe it would be better to make keeping the entity around as the exception in 
all cases and ask for it specifically when you want it.  I'm not sure of the 
answer I was just surprised by the behavior and can definitely send 
#resetEntity for my use case.


Paul

Reply via email to