zen wrote:
FYI, loadURI() construct the postdata (*refer code from 1st posting) as HTTP data while <form action=POST> construct as Line-based text data (both monitored from ethereal).

I'm not sure what that means. Since you have a \r\n at the beginning of your string, the data should end up in the request body. Are you saying it ends up in the headers?

Where am I wrong...? Is the loadURI's aPostData argument use in this manner?

Yes, the way you're using it looks correct.

 If not, how can I manipulate/append postdata? Should I use
nsIUploadStream and how should I use it?

Please advice...

-zen
_______________________________________________
Mozilla-netlib mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to