Changeset - 3669e58f3002
[Not reviewed]
Merge default
0 1 0
Mads Kiilerich - 5 years ago 2020-10-30 23:44:18
mads@kiilerich.com
Merge stable
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/config/middleware/pygrack.py
Show inline comments
 
@@ -127,7 +127,7 @@ class GitRepository(object):
 
            log.error(traceback.format_exc())
 
            raise exc.HTTPExpectationFailed()
 
        resp = Response()
 
        resp.content_type = 'application/x-%s-advertisement' % str(git_command)
 
        resp.content_type = 'application/x-%s-advertisement' % git_command
 
        resp.charset = None
 
        resp.app_iter = out
 
        return resp
 
@@ -177,7 +177,7 @@ class GitRepository(object):
 
                update_server_info(repo._repo)
 

	
 
        resp = Response()
 
        resp.content_type = 'application/x-%s-result' % git_command.encode('utf-8')
 
        resp.content_type = 'application/x-%s-result' % git_command
 
        resp.charset = None
 
        resp.app_iter = out
 
        return resp
0 comments (0 inline, 0 general)