Hi,
My client issues an HTTP PUT with If-None-Match: * because it wishes to
ensure the operation only proceeds if the resource does not already exist.
I'm not sure how to implement this using Request.evaluatePreconditions on
the server side. I want to be able to support both If-None-Match and
If-Match headers on the server.
If the resource doesn't exist then I can't invoke
Request.evaluatePreconditions(EntityTag) because I have no EntityTag. If I
omit this call altogether but the client specifies If-Match: <value> then I
will fail to handle this header and the call with go ahead even though it
should not. Any ideas?
Thank you,
Gili
--
View this message in context: http://n2.nabble.com/Request.evaluatePreconditions-and-If-None-Match%3A*-tp2184385p2184385.html
Sent from the Jersey mailing list archive at Nabble.com.