See the errata page for comments or errors. Your help in identifying any errors or unclear areas will be greatly appreciated. Please comment below or visit the errata page.

{ 3 comments… read them below or add one }

Rainer Schmitz January 27, 2011 at 11:50 am

Chapter 10.4, page 170, Example of first conditional update:
Last line of response should be Etag, not If-Match.

Also I wonder whether it’s allowed to return code204 No Content and a Content-Location. Reading the description of PUT on page 268 I understand Content-Location to indicate a representation is included in the response.


Subbu Allamaraju January 27, 2011 at 4:15 pm

I don’t see anything wrong with it. It just says that the entity in the response (with no body in the case of 204) can also be accessed from the URI specified in the Content-Location header.


Rainer Schmitz January 28, 2011 at 8:15 am

Thanks for clarifying. I misunderstood the meaning of the Content-Location header.
Am I right about the Etag / If-Match in the response, though?

And, by the way, thank you for the great book. It’s an enormous help in answering all those little and not so little questions that arise when designing a RESTful web service.


Leave a Comment