[hunchentoot-devel] Preventing Hunchentoot from parsing the POST-Data

Zach Beane xach at xach.com
Wed Oct 28 11:25:18 UTC 2009


On Wed, Oct 28, 2009 at 12:13:32PM +0100, Christoph Senjak wrote:
> Hello.
> 
> 2009/10/28 Hans Hübner <hans.huebner at gmail.com>:
> > On Wed, Oct 28, 2009 at 01:42, Christoph Senjak
> > <christoph.senjak at googlemail.com> wrote:
> >> Can I somehow tell hunchentoot not to read and parse the post-data,
> >> but leaving raw-post-data as a binary stream which I can pass to the
> >> cgi-handler?
> >
> > Hunchentoot is designed as terminating HTTP server, i.e. it does not
> > expect to forward requests.  For this, it is required that any request
> > body is eventually read from the stream during handler processing.
> Hm. Ok, then I wonder why raw-post-data exists anyway.

I wrote the patch for it some time ago to work with PayPal's "IPN"
postback system of payment notification. There is a confirmation step
that requires you post their post data back to them exactly as you
received it.

The PDF at https://www.paypal.com/ipn has more information.

Zach




More information about the Tbnl-devel mailing list