Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: FastCGI cache has stopped working

$
0
0
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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>