freebsd-skq/lib/libfetch
Bryan Drewery b36853caf1 Support Last-Modified behind proxies which return UTC instead of GMT.
The standard states that GMT must be used, but that UTC is equivalent. Still
parse UTC as otherwise this causes problems for pkg(8). It will refetch
the repository every time 'pkg update' or other remote operations
are used behind these proxies.

RFC2616: "All HTTP date/time stamps MUST be represented in Greenwich Mean
Time (GMT), without exception. For the purposes of HTTP, GMT is exactly equal
to UTC (Coordinated Universal Time).""

Approved by:	bapt (mentor)
Reviewed by:	des, peter
Sponsored by:	EMC / Isilon Storage Division
MFC after:	1 week
2014-03-11 13:47:11 +00:00
..
common.c Bump copyright dates 2014-01-30 08:37:23 +00:00
common.h Bump copyright dates 2014-01-30 08:37:23 +00:00
fetch.3 Include an Accept header in requests. 2013-07-30 13:07:55 +00:00
fetch.c
fetch.h
file.c
ftp.c
ftp.errors
http.c Support Last-Modified behind proxies which return UTC instead of GMT. 2014-03-11 13:47:11 +00:00
http.errors
Makefile