[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Patch for Spiffy's ``+'' problem
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Patch for Spiffy's ``+'' problem |
Date: |
Tue, 7 Feb 2006 11:16:19 +0100 |
On 2/7/06, Peter Busser <address@hidden> wrote:
> Hi!
>
> > Argh. The patch breaks POST requests: arguments in POST bodies
> > with urlencoded values are not translated.
> > I have reverted the egg.
>
> I see. I'll have a look at it, to see whether I can fix it. Is there an
> example .ssp or other Spiffy code which handles POST requests? It might
> be nice to test the code, before sending out yet another broken patch. :-)
>
<!-- post.ssp -->
<html>
<body>
<?scheme
(when (argument "posted")
(printf "POSTED:<br><pre>~a</pre>" (htmlize (alist-ref "text"
(http:request-body (current-request)) string=?))))
?>
<form method="POST" action="post.ssp?posted">
<input type="text" value="some text..." name="text">
<input type="submit" value="POST" name="submit">
</form>
</body>
</html>
cheers,
felix