[PATCH 2 of 4] Don't send "Content-Type: none"
Thomas Arendsen Hein
thomas at intevation.de
Thu Apr 20 13:47:22 UTC 2006
* Alexis S. L. Carvalho <alexis at cecm.usp.br> [20060420 07:45]:
> Thus spake Thomas Arendsen Hein:
> > * Vadim Gelfer <vadim.gelfer at gmail.com> [20060419 20:55]:
> > > On 4/15/06, Alexis S. L. Carvalho <alexis at cecm.usp.br> wrote:
> > > > Don't send "Content-Type: none"
> > >
> > > pushed to crew. thank you. are you sure is ok to use text/plain and
> > > not application/octet-stream here?
> >
> > Maybe we can use util.binary() to decide?
>
> Now that you've mentioned it, it sounds like a pretty obvious thing to
> do...
>
> # HG changeset patch
> # User Alexis S. L. Carvalho <alexis at cecm.usp.br>
> # Node ID 070c9bf044461080a36d408b34411f8b6c0db95b
> # Parent 2b8f887b2d1d617443ad0085fa20ef3b2ed28cde
> Use application/octet-stream as the content-type of unknown binary files
Works fine, pushed to crew.
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial
mailing list