On Wednesday 22 March 2006 20:05, Junio C Hamano wrote yet:
.. and note if that is an HTML document or not.
Better yet, see first if the object is corrupt. If it is and its Content-Type
is text/html, error out.
We do bend backwards to support ISP HTTP servers, but this might
be going a bit too far. Also I wonder if ISP runs a really
dumb-friendly configured server that defaults to text/html
unless the mimemap says otherwise. Loose object files do not
have suffixes and I am expecting these servers would give
whatever the server default is.
That server would break a *lot* of file types. That admin should be hanged,
shot, then burned.
I think of only one reason for doing that: to restrict file types posted on
the server to, say, zip and html.
--
GPG Key id: 0xD1F10BA2
Fingerprint: 96E2 304A B9C4 949A 10A0 9105 9543 0453 D1F1 0BA2
AstralStorm