go-http-tunnel
go-http-tunnel copied to clipboard
automatic decompression
I do have a problem with automatic decompression. My client sends a message that is gzipped. The tunnel decompresses it and forwards it chuncked. The other side does not expects that and returns me a failure.
I think the tunnel should act transparently and not interfere/alter the messages.
I've tried to set the disableCompression flag on the Transport of the client, but that not seems to be enough.
Does anyone had such a problem? Or knows how to fix?