freebsd-dev/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 Fix -Wunsequenced warning. 2013-06-29 15:51:27 +00:00
fetch.h latin1 -> utf8 2011-10-19 11:43:51 +00:00
file.c Adding missing return statements during error conditions. 2012-09-14 12:15:13 +00:00
ftp.c latin1 -> utf8 2011-10-19 11:43:51 +00:00
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 Don't deny non-temporary redirects if the -A option is set (per 2012-10-22 03:00:10 +00:00
Makefile Use libmd if and only if OpenSSL is not available. 2012-09-14 13:00:43 +00:00