[EMAIL PROTECTED] wrote:
       s = "key=long string with carriagereturns and line feeds,
similar to what
              one might find in a textarea tag";

You need a "\r\n" at the beginning of the string. I think you may need it also at the end, although I'm not sure about that.

See the nsIWebNavigation documentation:
http://lxr.mozilla.org/seamonkey/source/docshell/base/nsIWebNavigation.idl#197
197    * @param aPostData
198 * If the URI corresponds to a HTTP request, then this stream is 199 * appended directly to the HTTP request headers. It may be prefixed 200 * with additional HTTP headers. This stream must contain a "\r\n" 201 * sequence separating any HTTP headers from the HTTP request body.
_______________________________________________
Mozilla-netlib mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to