470,632 Members | 2,300 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,632 developers. It's quick & easy.

HTML/1.1 Range header field


please anyone help me.
I am using wince API for sending request to server with range header field.
I am giving range field as "Range:bytes=0-500";
The problem is request is going to server and response is getting but the server is responding the total length rather than what was requested.

The response should suppose to be like this

HTTP/1.1 206 Partial content
Server: Netscape-Enterprise/3.6 SP3
Date: Thu, 07 Dec 2006 13:03:17 GMT
Content-type: application/x-png
Etag: "92b9-dc6e-42ddabdf"
Last-modified: Wed, 20 Jul 2005 01:41:51 GMT
Content-length: 500
Content-range: bytes 55930-56429/56430

but i am receiving like this

HTTP/1.1 200 OK
Date: Thu, 07 Dec 2006 10:51:56 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_jk/1.1.0 mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26
Last-Modified: Wed, 07 May 2003 00:01:04 GMT
ETag: "412320-41d1-3eb84cc0"
Accept-Ranges: bytes
Content-Length: 16849
Keep-Alive: timeout=15, max=500
Connection: Keep-Alive
Content-Type: image/jpeg

onething by using sockets its working fine but i want to know whether it will work in wince APIs or not.

plz help me, its urgent.

with regards,
Dec 7 '06 #1
0 1089

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.