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