[issue2019] content-type exception when cloning over http from hgwebdir.cgi application

Andreas Jorneus bugs at mercurial.selenic.com
Wed Feb 3 19:16:11 UTC 2010


New submission from Andreas Jorneus <andreas at weightpoint.se>:

The following error is produced when doing a clone

hg clone http://myserver/hgwebdir.cgi/media/


destination directory: mediabank
requesting all changes
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.4.2)
** Extensions loaded: win32text, rebase
Traceback (most recent call last):
  File "hg", line 27, in <module>
  File "mercurial\dispatch.pyc", line 16, in run
  File "mercurial\dispatch.pyc", line 30, in dispatch
  File "mercurial\dispatch.pyc", line 46, in _runcatch
  File "mercurial\dispatch.pyc", line 454, in _dispatch
  File "mercurial\dispatch.pyc", line 324, in runcommand
  File "mercurial\dispatch.pyc", line 505, in _runcommand
  File "mercurial\dispatch.pyc", line 459, in checkargs
  File "mercurial\dispatch.pyc", line 453, in <lambda>
  File "mercurial\util.pyc", line 386, in check
  File "mercurial\commands.pyc", line 649, in clone
  File "mercurial\hg.pyc", line 292, in clone
  File "mercurial\localrepo.pyc", line 2140, in clone
  File "mercurial\localrepo.pyc", line 1437, in pull
  File "mercurial\httprepo.pyc", line 200, in changegroupsubset
  File "mercurial\httprepo.pyc", line 102, in do_cmd
  File "rfc822.pyc", line 384, in __getitem__
KeyError: 'content-type'

----------
messages: 11585
nosy: magny
priority: bug
status: unread
title: content-type exception when cloning over http from hgwebdir.cgi application

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2019>
____________________________________________________


More information about the Mercurial-devel mailing list