Re: [squid-users] X-Pad

2009-05-29 Thread Matus UHLAR - fantomas
On 27.05.09 11:19, Jeff Pang wrote:
 (Status-Line) HTTP/1.0 200 OK
 Connectionkeep-alive
 Content-Length6623
 Content-Type  image/gif
 Date  Wed, 27 May 2009 03:13:09 GMT
 ETag  9781c3-19df-45b36404d1e00
 Last-Modified Sat, 08 Nov 2008 23:54:32 GMT
 ServerApache/2.2.3 (Red Hat)
 Via   3.0 Squid
 X-Cache   MISS from localhost.localdomain
 X-Pad avoid browser bug
 
 
 From the headers above, what does the last line (X-Pad) mean?
 Thanks.

apparently more data added to avoid unspecified browser bug. I can only
guess, but M$IE configured to show friendly HTTP error messages changes
received content to it's own error page (saying nothin, thus fucking things
up) if it's smaller than 512 bytes.

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759


RE: [squid-users] X-Pad

2009-05-29 Thread joost.deheer
  X-Pad   avoid browser bug
  
  
  From the headers above, what does the last line (X-Pad) mean?
  Thanks.
 
 apparently more data added to avoid unspecified browser bug. 
 I can only guess, but M$IE configured to show friendly HTTP 
 error messages changes received content to it's own error 
 page (saying nothin, thus fucking things
 up) if it's smaller than 512 bytes.

No, this is used by Apache to work around an ancient Netscape browser bug. 
Newer versions will not have this header anymore (see e.g. 
http://www.nabble.com/Remove-the-workaround-for-Netscape-bug-td20847818.html)

Joost

Re: [squid-users] X-Pad

2009-05-27 Thread Amos Jeffries
Jeff Pang wrote:
 (Status-Line) HTTP/1.0 200 OK
 Connectionkeep-alive
 Content-Length6623
 Content-Type  image/gif
 Date  Wed, 27 May 2009 03:13:09 GMT
 ETag  9781c3-19df-45b36404d1e00
 Last-Modified Sat, 08 Nov 2008 23:54:32 GMT
 ServerApache/2.2.3 (Red Hat)
 Via   3.0 Squid
 X-Cache   MISS from localhost.localdomain
 X-Pad avoid browser bug
 
 
 From the headers above, what does the last line (X-Pad) mean?
 Thanks.

X-Pad is a random header somebody added. Means nothing.

Something very strange is going on anyway. The Via header says HTTP/3.0
is being used. There is no such version of HTTP.

Amos
-- 
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
  Current Beta Squid 3.1.0.8 or 3.0.STABLE16-RC1


[squid-users] X-Pad

2009-05-26 Thread Jeff Pang
(Status-Line)   HTTP/1.0 200 OK
Connection  keep-alive
Content-Length  6623
Content-Typeimage/gif
DateWed, 27 May 2009 03:13:09 GMT
ETag9781c3-19df-45b36404d1e00
Last-Modified   Sat, 08 Nov 2008 23:54:32 GMT
Server  Apache/2.2.3 (Red Hat)
Via 3.0 Squid
X-Cache MISS from localhost.localdomain
X-Pad   avoid browser bug


From the headers above, what does the last line (X-Pad) mean?
Thanks.