freebsd-skq/lib/libfetch
Murray Stokely 7f92799f67 Add support for HTTP 1.1 If-Modified-Since behavior.
fetch(1) accepts a new argument -i <file> that if specified will cause
the file to be downloaded only if it is more recent than the mtime of
<file>.

libfetch(3) accepts the mtime in the url structure and a flag to
indicate when this behavior is desired.

PR:		bin/87841
Submitted by:	Jukka A. Ukkonen <jau@iki.fi> (partially)
Reviewed by:	des, ru
MFC after:	3 weeks
2008-12-15 08:27:44 +00:00
..
common.c Fix one-byte buffer overflow: NUL gets written to the buffer, but isn't 2008-04-15 23:29:51 +00:00
common.h Add support for the NO_PROXY / no_proxy environment variable as used by 2007-12-18 11:03:07 +00:00
fetch.3 Add support for HTTP 1.1 If-Modified-Since behavior. 2008-12-15 08:27:44 +00:00
fetch.c As several people pointed out, I did all the ctype casts the wrong 2007-12-19 00:26:36 +00:00
fetch.h Add support for HTTP 1.1 If-Modified-Since behavior. 2008-12-15 08:27:44 +00:00
file.c
ftp.c Use memcpy(3) instead of the BSD-specific bcopy(3). 2008-02-08 09:48:48 +00:00
ftp.errors
http.c Add support for HTTP 1.1 If-Modified-Since behavior. 2008-12-15 08:27:44 +00:00
http.errors
Makefile Add missing dependencies on Makefile (fixes NO_CLEAN builds). 2007-12-19 05:10:07 +00:00