Andrew Gaul
69b89413bd
Add optional HTTP BASIC authorization
...
Fixes #18 .
2017-08-19 11:23:02 -07:00
Andrew Gaul
11a40b5051
Honor Accept-Encoding header in gzip transcoder
...
This avoids sending compressed data to clients which do not support
it.
2017-01-14 15:33:35 -08:00
Barna Csorogi
480053a71a
fix: allow ResponseReader.Reader to be wrapped by transcoders
...
fixes -minify errors
2017-01-14 03:44:07 +01:00
Andrew Gaul
1d5b6eff72
Add logging for startup and transcoded bytes
2017-01-13 14:09:56 -08:00
Barna Csorogi
f9a6377450
fix mitm for http1 proxy connections
...
Add back Hijacking support for http1.1 CONNECT requests.
2016-03-28 18:28:51 +02:00
Barna Csorogi
fd53c9cb8c
fix http requests over https proxy connection
...
Reconstruct the schema of the proxied request if it's not filled out.
2016-03-26 19:02:40 +01:00
Barna Csorogi
a4a691b7b8
add http2 support
...
Add http2 using the go-1.6 net/http built-in support.
net/http's http2 doesn't support hijacking, so instead of hijacking the
inital CONNECT tcp connection, tunnel proxied requests/responses over
the reader and writer streams of the CONNECT request.
2016-03-26 18:56:50 +01:00
Barna Csorogi
9bf55d29a9
proxy header-only responses properly
...
fixes redirects
2015-03-29 16:12:15 +02:00
Barna Csorogi
343bdd5266
initial commit
2015-03-28 23:07:40 +01:00