Hi All,
I currently make requests to my webserver via ajax and get a response in an encrypted format.
The response text has a null character (0) and Internet Explorer is terminating the response on that character. FireFox and Chrome are able to see the entire response text.
I have tried sending the following headers from php:
And the following header from Javascript:PHP Code:header('Content-type: application/octet-stream');
header('Content-type: text/plain;charset=iso-8859-1');
header('Content-Type: application/octet-stream; charset=utf-8');
header('Content-Length: 97');
Example of response text:Code:http.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
I want to try and achive this without using urlencoding, as it expands the response unnecessarily.Code:P GBFVYXQ@ QVRTWQVV VV TPTQVGBA]CPFVGPWT VTSV WUVR
Does anyone know any additional headers that I could send to make IE happy, or maybe headers in the ajax request?
Thanks all in advance.


Reply With Quote

Bookmarks