httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David N. Welton)
Subject Re: storing original POST input
Date Wed, 28 May 2003 18:49:56 GMT

My thoughts on the API:

int ApacheRequest_set_save_post_data(request_rec *r, int flag);
char *ApacheRequest_fetch_post_data(request_rec *r);

So one would do something like this:

    errstatus = ApacheRequest_set_save_post_data(apachereq, 1);
    errstatus = ApacheRequest_parse(apachereq);

That would avoid any API changes.  Of course, it could also be a flag
to _new or _parse.

It would work like this: util_read saves 'rbuf' to a field of the
request_rec struct.

Not quite sure about multipart, yet.  Maybe do the same thing, more or
less, but using 'mbuff'?

Any comments?

David N. Welton
Free Software:
   Apache Tcl:

View raw message