Commit graph

9 commits

Author SHA1 Message Date
sergeyfrolov
9ff8f882ff
Add upstream proxy support, fix tests, cosmetics (#27) 2018-06-15 16:36:08 -04:00
sergeyfrolov
91e13119f3
Set HiddenPage's Content-Type to text/html (#19)
Subsumes #16
2018-01-31 06:50:59 -07:00
Jim Ma
12605a2195 Reuse the original request, avoid the abnormal ContentLength
Fixes: abnormal ContentLength; empty schema due to the out of position check.
Handling of  HTTP GET requests: original request and URL are now reused. `generateForwardRequest()` is removed for simplicity.
2017-12-08 14:48:49 -07:00
Sergey Frolov
b4141bbbc6 gofmt 2017-11-30 12:29:35 -07:00
Sergey Frolov
f606760cc4 Add option to hide "Via" header
Partially implements #8.
2017-11-27 11:23:05 -07:00
Sergey Frolov
e1f14eab88 PAC file: configure to access localhost directly
Implements #5
2017-10-31 16:02:52 -06:00
Sergey Frolov
d9cdae3398 go vet fixes 2017-08-18 19:20:32 -04:00
Sergey Frolov
f2019d57c4 Serve PAC files from memory 2017-08-18 19:20:32 -04:00
Sergey Frolov
9e92549830 Initial commit 2017-08-18 19:20:20 -04:00