RESTful HTTP responses with Perl (or, how I learned to stop worrying and love RFC2616)

RESTful HTTP responses with Perl (or, how I learned to stop worrying and love RFC2616)

By Joel Bernstein (‎joel‎) from London.pm
Date: Tuesday, 4 August 2009 11:15
Duration: 20 minutes
Target audience: Everyday Perl
Language:
Tags: http rest rfc2616


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.

I will present a new module (to hit CPAN shortly) which can be used standalone, with Catalyst, with mod_perl and in other ways, which encapsulates 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: Jesse Vincent, Panu Ervamaa (‎pnu‎), Tobias Henoeckl (‎hoeni‎), Colin Bradford (‎cjbradford‎), Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 (‎daxim‎), Pedro Frazão, Ash Berlin (‎Ash‎), Karl Moens (‎CountZero‎), Maroš Kollár (‎maros‎), Pedro Figueiredo (‎pfig‎), Alex Muntada (‎alexm‎), Cláudio Valente, Pedro Melo (‎melo‎), Marcos Garcia (‎gulden‎), Gabor Szabo (‎szabgab‎), Markus Wichmann (‎telemorphix‎), Luis Rodrigues (‎goblin‎), Andrew Ford, Jose Celestino (‎japc‎), Clinton Gormley (‎DrTech‎), Jorge Morgado, Stig Palmquist (‎stigtsp‎), Søren Lund (‎slu‎), James Laver (‎jjl‎), Michele Beltrame (‎arthas‎), Joel Bernstein (‎joel‎), Jose Neta (‎jpn‎), Mário Barbosa, oleber, Luis Motta Campos (‎LMC‎), Carlos Pires (‎acmpires‎), Oliver Thieke (‎o-thieke‎), Gianni Ceccarelli (‎dakkar‎), Marcos Ramos (‎x‎), João Carreira, Salve J. Nilsen (‎sjn‎), Luís Mendes (‎big‎), Stan Sawa, Mark Morgan, Alex Kapranoff (‎kappa‎), Filipe Moreira, Jose L. Hernandez, Aristotle, Mark Stewart, Lars Thegler (‎tagg‎), Rui Patinha (‎rfp‎), Marco Neves (‎themage‎), Stefano Rodighiero (‎larsen‎), Pedro Rodrigues (‎careca‎), Henrik Tougaard (‎htoug‎), Jörg Plate (‎Patterner‎), Andy Armstrong (‎AndyA‎), Jorge Bras, Hugo Costa, Leo Lapworth (‎Ranguard‎), Elizabeth Mattijsen (‎liz‎), Carl Mäsak (‎masak‎), David Fernández, Sérgio Bernardino (‎smpb‎), Flavio Poletti (‎polettix‎), Farley Balasuriya (‎Questorian‎), jani, Damon Davison (‎allolex‎), Henrik Hald Nørgaard, Beatriz Nombela Escobar, Jordi Delgado (‎jdelgado‎), Adam Reeks, Anders Nielsen (‎anielsen‎), Markus Pinkert (‎Bedivere‎), António Martins (‎ammartins‎), Ricardo Marques (‎ricmarques‎), Lars Holgaard, Edmund von der Burg (‎evdb‎), Manuel Gomes (‎wagemage‎), Matusalem Marques (‎mmar‎), Paula Valenca (‎phantas‎), Peter Stoehr, Darius Jokilehto, Drew Taylor (‎drewbie‎), Ruslan Zakirov (‎ruz‎), Tiago Pedroso, Chia-liang Kao (‎clkao‎), Stelios Gikas (‎sgikas‎), Oskari Ojala (‎Okko‎), Roman Baumer (‎rba‎), Jose Plana, David Leadbeater (‎dg‎), Enrique J Hernandez Blasco (‎sixstone‎), Thomas Heine, Wieland Gmeiner, Braceta, Bartosz Jakubski (‎migo‎), Alistair MacLeod (‎anm‎), André Cruz (‎edevil‎), Thomas Netousek, Tobias Kremer (‎soulchild‎), Michael Langner, Christian Westgaard (‎ComLock‎), Marco Baan (‎pzt‎), Andreas Hetey, Jørgen Elgaard Larsen (‎elhaard‎), Éric Cholet (‎echo‎), Olivier Mengué (‎dolmen‎),