Nick Hengeveld wrote: > On Mon, Apr 03, 2006 at 07:28:28PM +0100, Daniel Drake wrote: > >> Ah, should have known. I am behind a (lame) transparent proxy on port 80. >> >> I opened that file in my web browser and it showed the old heads. After >> a force-refresh (ctrl+F5, which sends some additionally http headers to >> refresh the page from the real server), the old heads disappeared, and >> git now clones successfully. >> >> git-http-fetch should probably send those extra headers too. I'll try to >> find some time to look at this next week. > > git-http-fetch uses the "Pragma: no-cache" header when requesting > objects that shouldn't be cached. Is this the additional header you're > referring to? > As per HTTP 1.1, it should also send: Cache-Control: no-cache Pragma: no-cache is the deprecated extension. It's safe to send both. -- GPG Key id: 0xD1F10BA2 Fingerprint: 96E2 304A B9C4 949A 10A0 9105 9543 0453 D1F1 0BA2 AstralStorm
Attachment:
signature.asc
Description: OpenPGP digital signature