Welcome! Log In Create A New Profile

Advanced

Re: FastCGI cache has stopped working

Maxim Dounin
March 03, 2013 08:06AM
Hello!

On Sun, Mar 03, 2013 at 07:45:21AM -0500, Daniel15 wrote:

> Figured it out.
>
> The Expires header ("Sun, 3 Mar 2013 13:28:24 GMT") is using a single digit
> for the date. If I change the "3" to "03", Nginx works as expected. RFC
> 1123 and RFC 822 say that both one- and two-digit numbers are valid, so this
> is a bug in Nginx's caching. I'll report it to the bug tracker.

Nice catch. It's not a bug in nginx though, as HTTP only allows
fixed-width subset of RFC1123, see here:

http://tools.ietf.org/html/rfc2616#section-3.3.1

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

FastCGI cache has stopped working

Daniel15 March 03, 2013 07:32AM

Re: FastCGI cache has stopped working

Daniel15 March 03, 2013 07:45AM

Re: FastCGI cache has stopped working

Maxim Dounin March 03, 2013 07:58AM

Re: FastCGI cache has stopped working

Daniel15 March 03, 2013 08:02AM

Re: FastCGI cache has stopped working

Maxim Dounin March 03, 2013 08:08AM

Re: FastCGI cache has stopped working

Maxim Dounin March 03, 2013 08:06AM

Re: FastCGI cache has stopped working

Daniel15 March 04, 2013 06:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready