Hmmm I'm not sure if the protocol supports a header saying "don't transfer chunked". I expect there must be some way, though. But chunked transfer encoding isn't too hard to implement. It's simply a line with a hexadecimal number N, followed by N bytes, repeated until N = 0. All these chunks form the response. Leave out the chunk sizes.