On Sun, Nov 15, 2009 at 12:45:51PM +0100, Peter Bex wrote: > Anyway, the easy way to read the POST is this: > (form-urldecode (read-request-data (current-request)))
I forgot, read-request-data is not in intarweb (yet?). Here's its definition: (define (read-request-data req) (let ((len (header-value 'content-length (request-headers req)))) ;; If the header is not available, this will read until EOF (read-string len (request-port req)))) I might add this to intarweb in the future, possibly with a length limiter. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users