--
You received this message because you are subscribed to the Google Groups "goproxy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to goproxy-dev+unsubscribe@googlegroups.com.
To post to this group, send email to gopro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/goproxy-dev/5907c677-f7f0-460f-ba5b-b56b13cf3a99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
IIRC the spec mandates two newlines after the CONNECT, so it should be something likeCONNECT foo HTTP/1.0POST....BTW I'm not sure how well golang's net/http is supporting HTTP/1.0
On Mon, Aug 15, 2016 at 5:41 AM, Cuu Rothschild <dexte...@gmail.com> wrote:
I use example to setup a http connect method proxy or like "tcp proxy" with no ssljust http connect methodeg:then I always got 400 Bad requestSeems the goproxy still handle POST GETHow to ignore the POST/GET headers when got CONNECT request on the first line??I tested above lines under squidit works well
--
You received this message because you are subscribed to the Google Groups "goproxy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to goproxy-dev...@googlegroups.com.
IIRC the spec mandates two newlines after the CONNECT, so it should be something likeCONNECT foo HTTP/1.0POST....BTW I'm not sure how well golang's net/http is supporting HTTP/1.0
On Mon, Aug 15, 2016 at 5:41 AM, Cuu Rothschild <dexte...@gmail.com> wrote:
I use example to setup a http connect method proxy or like "tcp proxy" with no ssljust http connect methodeg:then I always got 400 Bad requestSeems the goproxy still handle POST GETHow to ignore the POST/GET headers when got CONNECT request on the first line??I tested above lines under squidit works well
--
You received this message because you are subscribed to the Google Groups "goproxy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to goproxy-dev...@googlegroups.com.
hosts, haveHost := req.Header["Host"]
delete(req.Header, "Host")