You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just came across Treblle and wanted to test it locally. I am trying to integrate it into a DRF project, but the library is throwing an exception inside the handle_response method, while trying to decode the response object.
On this line it is trying to process the following byte content
and here is the error UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
I am simply trying to integrate Treblle into an existing DRF based project and everything else is working perfectly so not sure about what may be wrong.
The text was updated successfully, but these errors were encountered:
I just came across Treblle and wanted to test it locally. I am trying to integrate it into a DRF project, but the library is throwing an exception inside the handle_response method, while trying to decode the response object.
On this line it is trying to process the following byte content
b'\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff}\x96OO\xdb@\x10\xc5\xbf\x8a\xe53=Tj\xa1p\xa3I!!\xac\x1d\xe5oiUU\x83\xbd\xc4\xa3\xd8\xbbhw\x9d\xd4E|\xf7\xae\x81K\x99\x97H\x9c\xcco6\xe3yo\x9e\xf7)-)Pz\xf1\xf3)\xf5\x81\x82\xfem\xa8\xd1\xe9EzY\xd3=5\x94\x9e\xbc=.l\xf9\xf2\xf86}>\x91\xa8\xdfJr\x02\xc8F;.\xc8$sj\xac\xac\x98\x83\n\xc7\x7f\xad\x91\xe8\x0f\x84n\xc9x\xf2\x82\x9dI\xf6+m\xb5K\xc6\xbe&S\xbe\xe7\x97\xea\xc3\x97\x8f\xb2d@5?XgX43\xb8\x04\xb4\xad\xad\xa3\xd2\n6G\xac1\xba\x08\\\xb4A\xe0\x0b\x89\x0fuM{r\xfa=;\xfc\x06X\xf6!N<$\xf6!\x89-\xb5\xcd\xbdl\x7f8\x90uW\xb1{.\x05z\x05\xd4\xbf\xd6\xd6m\xe4\xa9\xd7
(\xd7-5\x82[Jn\x14\xdf\x8f\xf9=9\x1a\x03\xd2\xee{\t\x8f(\xf9I\x16\x8dK\xaa\x840\xe3!\x00\xeb\x9a\x8de\xe1\xa81\x18\xc3\xd8\x94L\xd2\xa8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c\x15\xc7\x0b\x849T\xbf\x02\xf3[\x06\xaa\xc4\xef\x80(Zi\xd7\xc4\xe0\x12G"\xf4\xa5\t\xe9\x8e\x15p\xc7:\xde\x1e\x8f\xc4\x1b\xf8\xb0\xad)F\x90\xd9\x04\xe9\xf05:_\xfb\x90\x1cjh\rrn\xcd\xbe\xb0\xc6\xb3<\x1d\x0co\xdd\xd9&\xf6"\xd0\x18C\xbf\x9e\xff\x01\xd8\xd7Q\xa3\x0f\x0c\x00\x00'`and here is the error
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
I am simply trying to integrate Treblle into an existing DRF based project and everything else is working perfectly so not sure about what may be wrong.
The text was updated successfully, but these errors were encountered: