yysun/Git-Web-Access — pull request #4 by ivan-danilov (2012-01-05 10:21:07+00:00)
Title: Compatibility with JGit (TeamCity)

When Write(string) is called on response - it adds "charset=utf-8" to the ContentType, so that raw HTTP header looks like "Content-Type: application/x-git-upload-pack-advertisement; charset=utf-8" and JGit treats that as incorrect. With explicit setting of the Charset everything works fine.