Code

Restore functionality to allow proxies to cache objects
authorNick Hengeveld <nickh@reactrix.com>
Tue, 11 Oct 2005 06:22:01 +0000 (23:22 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 11 Oct 2005 06:22:01 +0000 (23:22 -0700)
commit031260064840e6e8c6bc36d7856a091ba80330c2
tree635a076467414e14967f15f402f51f530d663763
parent11f0dafe2be419240c0006c3e9112cbad3568baf
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>
http-fetch.c