[AWS] Reproducing the 200/304 HTTP status code logging problem

Thomas Løcke thomas.granvej6 at gmail.com
Sat Mar 5 18:10:40 CET 2011


Hey all,

This small example show the problem: When AWS return a 304 not
modified header, it logs it as 200 0, instead of 304 -.

$ git clone git://github.com/ThomasLocke/AWS_200_304_Test.git
$ cd AWS_200_304_Test
$ make
$ ./hello_world

Now visit localhost:8080 using a browser that actually honors the last
modified header (my Firefox refuse to do so). Refresh a few times, and
then check the log file.

:o)
Thomas Løcke


More information about the AWS mailing list