chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Spiffy


From: Dan Muresan
Subject: Re: [Chicken-users] Spiffy
Date: Sat, 9 Dec 2006 20:47:22 +0200

Oh yeah, now I remember: handlers (defined with http:add-resource or
the spiffy helper macro) don't receive POST attributes in the the
second argument (the args in (lambda (req args)).

The built-in http:content-parser  'application/x-www-form-urlencoded
parses POSTs just fine. But read-request puts the parsed pairs in the
request body (which is supposed to be a string, not an a-list in any
case), not in the arguments arguments. It looks like somewhere along
the road internal conventions have changed...


--
Dan Muresan
http://alumnus.caltech.edu/~muresan/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]