Note also that the documentation for setRequestHeader explicitly says:

130      * @throws NS_ERROR_IN_PROGRESS if called after the channel has been
131      *         opened.

See http://lxr.mozilla.org/seamonkey/source/netwerk/protocol/http/public/nsIHttpChannel.idl#106

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

Reply via email to