[Lispweb] RFC2109 (cookies)
Alan Shields
Alan-Shields at omrf.ouhsc.edu
Tue Aug 2 19:08:57 CDT 2005
While working on my app, I noticed that there was no way to
create cookies through the araneida framework except as raw strings.
Having read about all this "add parentheses to the specification
document" business, I tried implementing RFC2109 (the cookie v1 spec)
cookie generation this way.
Here's the results of my endeavors:
http://code.microarray.omrf.org/cgi-bin/darcs.cgi/alan-rfc2109/
http://code.microarray.omrf.org/darcs/alan-rfc2109/
The file is very large, but the code is small. RFC 2109 is included
verbatim, with code in the relevant sections implementing the
functionality.
So far it's just for generating cookie strings, but I'm going to code
up cookie parsing here RSN. Well, I need it for an upcoming project, so
it may be sooner than that.
I've added rfc2109 to my repository of araneida as well, darcs makes it
very easy to do that sort of thing. As this is the way I see the library
being used for the most part, I haven't ASDF-ified it. Such could be
easily done if it's desired.
Any comments would be appreciated.
Enjoy,
Alan Shields
http://code.microarray.omrf.org/darcs/alan-araneida/
http://code.microarray.omrf.org/cgi-bin/darcs.cgi/alan-araneida/
More information about the lispweb
mailing list