<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=SV link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I’m obviously losing it somehow. What am I missing here, it must be something obvious that is going to make me look stupid, but I still don’t see it. I just can’t get If-Modified-Since to work?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Linux poc 3.3.4-2-ARCH #1 SMP PREEMPT Wed May 2 18:28:42 CEST 2012 x86_64 Intel(R) Xeon(R) CPU E5540 @ 2.53GHz GenuineIntel GNU/Linux<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Default configure/make/nginx.conf etc directly from the 1.2.0 dist. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I send an IMS header, later than the last-modified, and still get a 200?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>x@poc> touch a<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>x@poc> curl -za -v localhost/index.html<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>* About to connect() to localhost port 80 (#0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>* Trying 127.0.0.1...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>* connected<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>* Connected to localhost (127.0.0.1) port 80 (#0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> GET /index.html HTTP/1.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> User-Agent: curl/7.25.0 (x86_64-unknown-linux-gnu) libcurl/7.25.0 OpenSSL/1.0.1b zlib/1.2.7 libssh2/1.4.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> Host: localhost<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> Accept: */*<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> If-Modified-Since: Tue, 15 May 2012 11:18:36 GMT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>< HTTP/1.1 200 OK<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< Server: nginx/1.2.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< Date: Tue, 15 May 2012 11:18:40 GMT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< Content-Type: text/html<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< Content-Length: 151<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< Last-Modified: Tue, 15 May 2012 11:17:22 GMT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< Connection: keep-alive<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< Accept-Ranges: bytes<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[…]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Same request against Apache<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>x@poc> touch a<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>x@poc> curl -za -v localhost/index.html<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>* About to connect() to localhost port 80 (#0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>* Trying 127.0.0.1...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>* connected<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>* Connected to localhost (127.0.0.1) port 80 (#0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> GET /index.html HTTP/1.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> User-Agent: curl/7.25.0 (x86_64-unknown-linux-gnu) libcurl/7.25.0 OpenSSL/1.0.1b zlib/1.2.7 libssh2/1.4.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> Host: localhost<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> Accept: */*<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> If-Modified-Since: Tue, 15 May 2012 11:25:13 GMT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>< HTTP/1.1 304 Not Modified<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< Date: Tue, 15 May 2012 11:25:14 GMT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< Server: Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.1b DAV/2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>< ETag: "89985-5-4c011747da2b3"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Kind regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Fredrik<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>