I've been sifting through the code in netwerk/protocol/http/src (and
elsewhere) trying to find a way to get the text of a POST request's entity
body (i.e., the form data that is sent after the request headers in a POST
request). All I want to do is put this text in a char array and fwrite() it
to the screen (in debug mode) as a diagnostic print.

I'm able to this with the request and response *headers* in
nsHttpTransaction::Init() and nsHttpTransaction::HandleContentStart(),
respectively, but I can't find where I can get ahold of the request body
that is sent in a POST request.

If anyone can help out, I'd really appreciate it.

Thanks.

--Mike


_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to