In the request header we have accept-encoding: gzip, but received an encrypted response x-gzip.
I found this note about x-gzip and gzip :
Using program names to identify encoding formats is undesirable and not recommended for future encodings. Their use here is an indicator of historical practice, not a good design. For compatibility with previous HTTP implementations, applications SHOULD assume that "x-gzip" and "x-compress" should be equivalent to "gzip" and "compress", respectively.
Does this mean x-gzipequal gzip? Can we just use the same method to unpack content x-gzipas gzipcontent?
source
share