You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import psutil
import time
from browsermobproxy import Server
server = Server('../resources/browsermob-proxy-2.1.4/bin/browsermob-proxy')
server.start()
proxy = server.create_proxy()
print(proxy.proxy)
proxy.headers({'test': 'close'})
#proxy.headers({'Connection': 'close'})
I'm using code above to start a proxy server for my browser to add/modify headers. Unfortunately, I can't do this with "Connection" header. Is there any way to do this?
The text was updated successfully, but these errors were encountered:
Neschastje
changed the title
Spoofing Connection header
Modifying Connection header
Oct 5, 2018
I'm using code above to start a proxy server for my browser to add/modify headers. Unfortunately, I can't do this with "Connection" header. Is there any way to do this?
The text was updated successfully, but these errors were encountered: