Changeset - ee980eadc4b1
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-07-10 23:04:21
marcin@python-works.com
reset charset for git rpc cals also
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/middleware/pygrack.py
Show inline comments
 
@@ -147,12 +147,13 @@ class GitRepository(object):
 
            subprocess.call(u'git --git-dir "%s" '
 
                            'update-server-info' % self.content_path,
 
                            shell=True)
 

	
 
        resp = Response()
 
        resp.content_type = 'application/x-%s-result' % git_command.encode('utf8')
 
        resp.charset = None
 
        resp.app_iter = out
 
        return resp
 

	
 
    def __call__(self, environ, start_response):
 
        request = Request(environ)
 
        _path = self._get_fixedpath(request.path_info)
0 comments (0 inline, 0 general)