Skip to content

Commit 16cf997

Browse files
committed
proxy: stick with http1.0 as not really supporting 1.1, #143
1 parent eeb35ea commit 16cf997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pywb/framework/proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def handle_connect(self, env):
314314
return WbResponse.text_response('HTTPS Proxy Not Supported',
315315
'405 HTTPS Proxy Not Supported')
316316

317-
sock.send('HTTP/1.1 200 Connection Established\r\n')
317+
sock.send('HTTP/1.0 200 Connection Established\r\n')
318318
sock.send('Proxy-Connection: close\r\n')
319319
sock.send('Server: pywb proxy\r\n')
320320
sock.send('\r\n')

0 commit comments

Comments
 (0)