On 2/7/06, Peter Busser <[EMAIL PROTECTED]> 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


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to