Problem with headers

This is a discussion on Problem with headers within the Squid Users forums, part of the Web Server and Related Forums category; When I send an HTTP GET request that contains a minus sign in the Range: header, the response I get ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-16-2004
Maur
 
Posts: n/a
Default Problem with headers

When I send an HTTP GET request that contains a minus sign in the
Range: header, the response I get back is 200, but has invalid
headers. If I modify the request to remove just the minus sign, I get
a proper Response.

The problem is that without the minus sign in the Range: header,
applications like GetRight and Firefox are not able to resume file
transfers. Here's what I mean. All that is changed is the Range:
header. In both cases the transfer starts over from 0.

Why does this header cause Squid to not return any headers to the
request?
(NetCache is a Linux/BSD box running Squid and a few other programs.)

+++GET 3+++
GET /getright52beta3.exe HTTP/1.1
Host: www.get-right.com
Range: bytes=327884-
Accept: */*
Connection: keep-alive
+++CLOSE 3+++
+++RESP 3+++
HTTP/1.1 200 (No headers)
Server: Unknown, missing HTTP headers
+++CLOSE 3+++

+++GET 4+++
GET /getright52beta3.exe HTTP/1.1
Host: www.get-right.com
Range: bytes=327884
Accept: */*
Connection: keep-alive
+++CLOSE 4+++
+++RESP 4+++
HTTP/1.1 200 OK
Age: 47383
Date: Tue, 17 Aug 2004 00:31:42 GMT
Content-Length: 3091086
Content-Type: application/octet-stream
Server: Apache/1.3.22 (Unix) (Red-Hat/Linux) mod_jk/1.2.0
mod_perl/1.24_01 PHP/4.1.1 FrontPage/5.0.2 mod_ssl/2.8.5
OpenSSL/0.9.6b
Last-Modified: Wed, 28 Jul 2004 07:27:56 GMT
Via: 1.1 Adzila2 (NetCache NetApp/5.5D6)
+++CLOSE 4+++
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:55 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0