]> Pileus Git - grits/commit
Fix caching bugs with some http servers
authorAndy Spencer <andy753421@gmail.com>
Mon, 14 Feb 2011 05:26:29 +0000 (05:26 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 14 Feb 2011 05:26:29 +0000 (05:26 +0000)
commit75df11f7088dac5301deec551d7458d9572f1848
treebcaacbdd0dc0c60f31790352e1e1d5be53c73c3a
parent12e39aa0ca2c7e6843bf1a1e0a9d73c3c84cc166
Fix caching bugs with some http servers

Some server (e.g. weather.gov) send old versions of index files which
causes grits_http_available to return incorrect information.

Setting `Cache-Control: max-age=0' fixes this.
src/data/grits-http.c