On Mon, Feb 21, 2005 at 05:10:59PM +0100, Edi Weitz wrote:
Hi Zach!
No, at the moment you can't. CONTENT-STREAM is not documented because it's of no use once the request object has been created. I think the best way to implement this would be to add a new slot (something like "RAW-POST-DATA") to the request object and only fill it if some special variable which usually is NIL has a true value. What do you think?
Sounds good to me.
If you want to work on this the meat of it should be around line 110 in request.lisp and you should also decide if you want to do the same thing for multipart/form-data POST requests.
I can also do this but probably not this week - I'm pretty busy. So, clean patches including documentation are preferred... :)
Ok, attached is a patch. I have tested it for a few cases and it seems to work.
Zach