# HG changeset patch # User Marcin Kuzminski # Date 2017-07-28 00:42:52 # Node ID 409b1039018a07b7a89ea1d432eb6917f8a77340 # Parent 6563f4ae33e094e06b2900f83dbf9cb0c8f118de http-app: adds some logging. diff --git a/rhodecode/lib/middleware/utils/scm_app_http.py b/rhodecode/lib/middleware/utils/scm_app_http.py --- a/rhodecode/lib/middleware/utils/scm_app_http.py +++ b/rhodecode/lib/middleware/utils/scm_app_http.py @@ -105,12 +105,15 @@ class VcsHttpProxy(object): if environ.get('QUERY_STRING'): url += '?' + environ['QUERY_STRING'] + log.debug('http-app: preparing request to: %s', url) response = session.request( - method, url, + method, + url, data=_maybe_stream_request(environ), headers=request_headers, stream=True) + log.debug('http-app: got vcsserver response: %s', response) # Preserve the headers of the response, except hop_by_hop ones response_headers = [ (h, v) for h, v in response.headers.items()