title: Mercurial Clone Does not appear to be an hg repository (no content-type)
body: <p>When trying to clone a mercurial repository I get the following error...</p>
  
  <pre><code>sending getbundlecommand
  requested url: 'http://hg/myrepo/?cmd=getbundle'
  abort: 'http://hg/myrepo' does not appear to be an hg repository:
  ---%&lt;--- (no content-type)
  ---%&lt;---
  !
  </code></pre>
  
  <p>Initially I was getting a 400 bad request response which was seemingly to do with exceeding the MaxFieldLength and MaxRequestBytes limits which I have now set to maximum as suggested on Mercurial wiki (<a href="https://www.mercurial-scm.org/wiki/HgWebInIisOnWindows#I.27m_getting_an_HTTP_400:_Bad_request_error._What.27s_going_on.3F" rel="nofollow noreferrer">7.1 I'm getting an HTTP 400: Bad request error. What's going on?</a>).</p>
  
  <p>Now I get the no content-type error. I have found a few similar threads on the bitbucket site and in various places but no concrete solutions. I haven't configured any plugins/extensions/hooks on that repo and I know that the webserver is serving up repo's correctly as I'm able to clone all other repos without a problem. This is the largest repo we have and think the number of branches, heads and commits must somehow be related.</p>
  
  <p>Hoping someone has come accross this before and can point me in the right direction!?</p>