Skip to content

Modifying Connection header #88

Open
@Neschastje

Description

@Neschastje
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions