Open fortytw2 opened 9 years ago
I got the same problems
You need to do man-in-the-middle attack for https first, so that goproxy can read/intercept the traffic. Something like this. https://github.com/rahulwa/camouflage/blob/master/proxy/proxy.go#L116-L120
It still doesnt work for https when i set MITM. Any other solution please.
Hey! I'm trying to use onRequest to edit/return special responses in a lot of cases with
goproxy
, but it seems any request directly to anhttps://
URL doesn't use this, instead does it's own thing? Anything that first goes throughhttp://
and is redirected works just fine though