RESTful HTTP responses with Perl (or, how I learned to stop worrying and love RFC2616)
By Joel Bernstein (joel) from London.pm
Date: Saturday, 5 December 2009 14:25
Duration: 20 minutes
Language:
The HTTP RFC gives fantastic detail about how responses from a RESTful application should instruct a conforming user-agent to behave, and about the contexts in which different responses are appropriate. Yet many HTTP applications seem to know little more than "200 OK".
We can improve on this situation by encapsulating some of the logic embodied in the HTTP 1.1 RFC. The rationale being that the developer can think in terms closer to his application domain and a little further away from the underlying protocol, but while still being able to develop highly REST-compliant web APIs.
Attended by: Avi Greenbury (BigRedS), Tatsuhiko Miyagawa (miyagawa), Jess Robinson (castaway),