[EMAIL PROTECTED] wrote:
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.

You are probably using setRequestHeader on the channel passed to onStartRequest. You can't set request headers after the request has been made.

I create nsiChannel to make http request. Can I use this channel again to
make another request on same host?

You cannot reuse an nsIChannel, no. Create a new channel.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to