Boris Zbarsky wrote:
zen wrote:
That's rite... but I'm not sure whether this is normal since loadURI()
has passed in the postdata as argument
Yes, but you didn't say what sort of postdata it is; there are several
different types.
and it is not send to server as expected... Any idea on how to
overcome or append the Content into same HTTP post?
Well, you could put the Content-type header in your post data stream
before the \r\n (so you'd need a \r\n after the header, then a second
\r\n to indicate end of headers).
Alternately, you could also pass in a header stream, not just a data
stream.
-Boris
How can I pass in header stream? Can you give some code illustration?
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib