[PATCH 2 of 2] make hgweb and archive command use same code

Vadim Gelfer vadim.gelfer at gmail.com
Fri Apr 21 22:21:50 UTC 2006


this patch removes archive code from hgweb, uses new archival module
from previous class.

patch also fixes bug in setting of content disposition and encoding.
mozilla and firefox decompress stream when encoding of "gzip" used,
but still save file with .gz extension, so file managers get confused.
use "x-gzip" instead, like apache does.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgweb-archival.patch
Type: text/x-patch
Size: 3475 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20060421/bb9504d6/attachment-0001.bin>


More information about the Mercurial mailing list