Re: [squid-users] squid seems to be altering Content-Type response headers

From: Celejar <celejar_at_gmail.com>
Date: Sun, 1 Nov 2009 20:58:37 -0500

On Sun, 01 Nov 2009 21:48:32 +0100
Henrik Nordstrom <henrik_at_henriknordstrom.net> wrote:

> sön 2009-11-01 klockan 03:19 -0500 skrev Celejar:
>
> > 1257062417.219 0 127.0.0.1 TCP_HIT/200 43846 GET
> > http://wordpress.org/development/feed/ - NONE/- text/xml
>
> > 1257062446.025 129 127.0.0.1 TCP_REFRESH_HIT/304 461 GET
> > http://wordpress.org/development/feed/ - DIRECT/72.233.56.138
> > text/html
>
> Here 72.233.56.139 apparently said that the content-type should be
> updated to text/html but that the response otherwise is the same as
> before.

Right you are. I ran wireshark, which shows the headers as:

HTTP/1.0 304 Not Modified
X-Pingback: http://wordpress.org/development/xmlrpc.php
Last-Modified: Sat, 31 Oct 2009 21:28:00 GMT
ETag: "a4aa82a49dbe294617210eb367fa0997"
Content-type: text/html
Date: Mon, 02 Nov 2009 01:25:17 GMT
Server: LiteSpeed
Connection: close

> > These posts claim that squid shouldn't ever be altering the
> > Content-Type headers:
>
> It doesn't. But a received 304 response may update the stored headers
> with new values given by the origin server.

So I guess that this is some sort of bug in wordpress - reported:

http://core.trac.wordpress.org/ticket/11060

Thanks,
Celejar

-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Received on Mon Nov 02 2009 - 01:58:47 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 02 2009 - 12:00:02 MST