Welcome! Log In Create A New Profile

Advanced

Re: ContentType - text/css for css files in 304 Not Modified

kevin
September 01, 2010 09:06PM
On Wed, Sep 1, 2010 at 4:39 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Wed, Sep 01, 2010 at 01:23:38PM -0700, kevin wrote:
>
> > i want nginx to include ContentType text/css for css files in 304 Not
> > Modified request
> >
> > here is the headers for the static css file request. you can see that
> there
> > is no ContentType sent.
>
> RFC 2616 says about 304 responses:
> (http://tools.ietf.org/html/rfc2616#section-10.3.5)
>
> If the conditional GET used a strong cache validator (see section
> 13.3.3), the response SHOULD NOT include other entity-headers.
> Otherwise (i.e., the conditional GET used a weak validator), the
> response MUST NOT include other entity-headers; this prevents
> inconsistencies between cached entity-bodies and updated headers.
>
> Content-Type is entity header and not listed above this paragraph,
> so clearly qualifies as "other entity-headers".
>
> Could you please clarify why you think RFC is wrong here and you
> need Content-Type in 304 response?
>
it is for a facebook app, and i do not have control over this. without this
header the css file is not processed as css at all.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

ContentType - text/css for css files in 304 Not Modified

kevin September 01, 2010 04:34PM

Re: ContentType - text/css for css files in 304 Not Modified

Maxim Dounin September 01, 2010 07:44PM

Re: ContentType - text/css for css files in 304 Not Modified

kevin September 01, 2010 09:06PM

Re: ContentType - text/css for css files in 304 Not Modified

Alex Sergeyev September 02, 2010 01:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready