seancribbs/webmachine-ruby — pull request #39 by petejohanson (2012-03-21 17:38:44+00:00)
Title: Add support for retrieving/setting cookies for a request (rack only so far)

As is, retrieving/setting cookies requires manual management of the Cookie/Set-Cookie headers. This small change adds the API for retrieving/setting cookies.

I only implemented the actual support in the Rack adapter. When I went to try to do the same for WEBRick and Mongrel, I didn't see many specs for those adapters and thought I'd get feedback before implementing more.

Happy to include the changes for those adapters if you like the general approach API I added.

Thoughts?