xmlHttp.setRequestHeader("Content-Type", "text/plain; charset=utf-8");
I want to send simple POST data with form style encoding:
"var1=hello&var2=world"
I believe there should be a way to specify:
xmlHttp.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
If it's already possible to do this please show me how, I don't see it
in the docs.
I don't want to be sending big ammounts of data using GET and have all
that stuff end up in httpd logs.
I forwarded this to our XMLHttp guy. His responses tend to be
asynchronous, so in the meantime you could edit the source to provide a
way to get the encoding you need.
Scott