Jump to content

Archived

This topic is now archived and is closed to further replies.

shashishaw

Invalid Response

Recommended Posts

Hi All,
The problem i am facing is as mentioned.

I am Series 60 developer and am working on symbian os.
When i make a HTTP Get request from a PHP site, in the response that i receive i get some random data bytes (characters) along with the actual response. I am parsing the actual response for particular fields. But due to the presence of the extra bytes, the parsing fails. This is valid for many of the php sites.

What could be the reason for the extra random bytes that come down.

E.g
When u check the response received for the below mentioned site, the response contains extra bytes just after the header.
[a href=\"http://www.cdt.org/security/010911response.php\" target=\"_blank\"]http://www.cdt.org/security/010911response.php[/a]

The response can be viewed using
[a href=\"http://www.rexswain.com/httpview.html\" target=\"_blank\"]http://www.rexswain.com/httpview.html[/a]

Kindly help.
Thanks in advance




Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.