##// END OF EJS Templates
http-app: adds some logging.
marcink -
r1983:409b1039 default
parent child Browse files
Show More
@@ -105,12 +105,15 b' class VcsHttpProxy(object):'
105 if environ.get('QUERY_STRING'):
105 if environ.get('QUERY_STRING'):
106 url += '?' + environ['QUERY_STRING']
106 url += '?' + environ['QUERY_STRING']
107
107
108 log.debug('http-app: preparing request to: %s', url)
108 response = session.request(
109 response = session.request(
109 method, url,
110 method,
111 url,
110 data=_maybe_stream_request(environ),
112 data=_maybe_stream_request(environ),
111 headers=request_headers,
113 headers=request_headers,
112 stream=True)
114 stream=True)
113
115
116 log.debug('http-app: got vcsserver response: %s', response)
114 # Preserve the headers of the response, except hop_by_hop ones
117 # Preserve the headers of the response, except hop_by_hop ones
115 response_headers = [
118 response_headers = [
116 (h, v) for h, v in response.headers.items()
119 (h, v) for h, v in response.headers.items()
General Comments 0
You need to be logged in to leave comments. Login now