POST does not work in Firefox but works in chrome
I'm making a ajax call as
xmlhttp.setRequestHeader ("Content-Type", "application/x-www-form-urlencoded");
xmlhttp.open ("POST", url);
url, parameters are already declared.
When this code is executed. post works fine (parameters are being set in application) in chrome, but not in firefox.
When i looked through the contents through sniffer (wireshark).
I found out that
Content-Type: application/x-www-form-urlencoded; char-set: UTF-8
Where as in chrome:
does char-set affects post call?. If yes, how can i call request header to not to set "char-set"
Can any one please let me know how i can proceed with this.