Hi,
I am new to Moz development and have been sifting through documentation. I have figured out how to make HTTP requests using nsIURI and nsIHttpChannel, but what I want to do is post a multipart form with files. I have seen examples that create multipart posts, but takes performance hits as the files get larger, because the files are loaded into memory and base64 encoded and added to the mulitpart post before being put into nsIUploadChannel. Is there a way to get an output stream for either a nsIHttpChannel or nsIUploadChannel so that I can just pipe file streams? Also, are there better classes to use for this kind of operation other than nsIOService, nsIURI, and nsIHttpChannel, without me having to re-invent the wheel and implement my own http parsers?
Thanks,
D Young _______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib
