commit b1f6a7ece3adaf8a781a5a97877fcf0f20c736a7 Author: David Fifield david@bamsoftware.com Date: Sun Aug 3 23:27:02 2014 -0700
Get rid of Content-Type: application/octet-stream.
It doesn't do anything but make the header bigger. https://trac.torproject.org/projects/tor/ticket/12778 --- meek-client/meek-client.go | 1 - 1 file changed, 1 deletion(-)
diff --git a/meek-client/meek-client.go b/meek-client/meek-client.go index 5b62199..e98dd76 100644 --- a/meek-client/meek-client.go +++ b/meek-client/meek-client.go @@ -126,7 +126,6 @@ func roundTripWithHTTP(buf []byte, info *RequestInfo) (*http.Response, error) { if info.Host != "" { req.Host = info.Host } - req.Header.Set("Content-Type", "application/octet-stream") req.Header.Set("X-Session-Id", info.SessionID) return tr.RoundTrip(req) }
tor-commits@lists.torproject.org