author | Nick Hengeveld <nickh@reactrix.com> | |
Tue, 11 Oct 2005 06:22:01 +0000 (23:22 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 11 Oct 2005 06:22:01 +0000 (23:22 -0700) | ||
commit | 031260064840e6e8c6bc36d7856a091ba80330c2 | |
tree | 635a076467414e14967f15f402f51f530d663763 | tree | snapshot |
parent | 11f0dafe2be419240c0006c3e9112cbad3568baf | commit | diff |
Restore functionality to allow proxies to cache objects
The parallel request changes didn't properly implement the previous patch to
allow caching of retrieved objects by proxy servers. Restore the previous
functionality such that by default requests include the "Pragma: no-cache"
header, and this header is removed on requests for pack indexes, packs, and
objects.
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The parallel request changes didn't properly implement the previous patch to
allow caching of retrieved objects by proxy servers. Restore the previous
functionality such that by default requests include the "Pragma: no-cache"
header, and this header is removed on requests for pack indexes, packs, and
objects.
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c | diff | blob | history |