Re: Git-aware HTTP transport
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Aug 28, 2008, 17:47 UTC
- Message-ID
- <48B6E4A5.7030605@zytor.com>
- In-Reply-To
- <20080828174334.GF21072@spearce.org>
Shawn O. Pearce wrote:
> GET /intl/en_ALL/images/logo.gif HTTP/1.0
> Anyway, I didn't send any browser data, so the server had to assume > the dumbest f'ing browser on the planet, and I got back binary data.
Slight nitpick: you did (HTTP/1.0). If you really want to show the bottom-of-the barrel behaviour, drop that off which gets you HTTP 0.x behaviour -- not exactly commonly encountered today :) HTTP 0.x had no provisions for a request header, so you should not need to send a blank line after the GET.
-hpa