Hi All, I am opening nsiChannel to make http request asynchronously. For that i am passing my listener in nsiChannel.asyncOpen, with three function onStartRequest, onStopRequest and onDataAvailable.
I have following question on same. Question 1. In onStartRequest function, I am creating nsiHTTPChannel and changing the http header value by using nsiHTTPChannel.setRequestHeader, but I am getting NS_ERROR_IN_PROGRESS error there. How can I resolve this error or I need to do something else to set the header value? Question 2. I create nsiChannel to make http request. Can I use this channel again to make another request on same host? If this is possible, then let me know how can I use same channel again. regards, Hitesh. _______________________________________________ Mozilla-netlib mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-netlib
