I'm trying to write a Python script that needs to intercept and modify HTTPS packets in the following way:
Request: Client (browser) -> WebServer
Response: Client (browser) <- MyScript <- WebServer
Because for some reason the WebServer blocks my HTTP Connect request when using a proxy.