If additional_ Decode=None, and add Accept Encoding="gzip, deflate, br" in the headers. The data returned after the request will not be correctly decoded by gzip, which only raises a problem. If the encoding format is not gzip, deflate, br, but other compressed data, then I will not decode successfully.
Provide sample code:
If additional_ Decode=None, and add Accept Encoding="gzip, deflate, br" in the headers. The data returned after the request will not be correctly decoded by gzip, which only raises a problem. If the encoding format is not gzip, deflate, br, but other compressed data, then I will not decode successfully. Provide sample code:
Error message:
gzip.BadGzipFile: Not a gzipped file (b'\x1f\xef')