Date: Mon, 15 Dec 2008 08:27:44 +0000 (UTC) From: Murray Stokely <murray@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libfetch fetch.3 fetch.h http.c src/usr.bin/fetch fetch.1 fetch.c Message-ID: <200812150831.mBF8VJZN013605@repoman.freebsd.org>
index | next in thread | raw e-mail
murray 2008-12-15 08:27:44 UTC
FreeBSD src repository
Modified files:
lib/libfetch fetch.3 fetch.h http.c
usr.bin/fetch fetch.1 fetch.c
Log:
SVN rev 186124 on 2008-12-15 08:27:44Z by murray
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
Revision Changes Path
1.66 +24 -1 src/lib/libfetch/fetch.3
1.27 +1 -0 src/lib/libfetch/fetch.h
1.86 +25 -3 src/lib/libfetch/http.c
1.70 +15 -1 src/usr.bin/fetch/fetch.1
1.82 +25 -4 src/usr.bin/fetch/fetch.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812150831.mBF8VJZN013605>
