[PATCH 2 of 2 STABLE] httprepo: use content-type application/mercurial-0.1 for POST

Dirkjan Ochtman dirkjan at ochtman.nl
Mon Feb 22 11:39:24 CST 2010


On Mon, Feb 22, 2010 at 10:34, Sune Foldager <cryo at cyanite.org> wrote:
> # HG changeset patch
> # User Sune Foldager <cryo at cyanite.org>
> # Date 1266852537 -3600
> # Branch stable
> # Node ID 9399552a8c97f3386e2265882ee7d7f4f054669d
> # Parent  63a858b81dd2c5fc7d5f60ac16349f7e1d2ad3aa
> httprepo: use content-type application/mercurial-0.1 for POST
>
> Previously, application/octet-stream was used. The content-type is
> currently ignored by the server.

Yes, according to Postel's Law I'd prefer sending Content-Type rather
than content-type, though, too.

Otherwise looks okay, I think it doesn't change anything.

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list