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
Is your feature request related to a problem? Please describe.
I aim to intercept a request that yields an image. Presently, the only available option is to retrieve text from the response. Unfortunately, converting this text to bytes is not effective, as it fails to handle certain characters.
Describe the solution you'd like
Providing the capability to collect the response in byte format would enable us to save the response as binary data.
Describe alternatives you've considered
Presently, I retrieve the response request, re-send it using the 'requests' library, and then utilize the 'content' property of the response to save it as binary data.
The text was updated successfully, but these errors were encountered:
We should look can library know, is the transferred item a thing which should presented as bytes. If library can not know, then we should let user to decide should we return the payload as bytes or text.
Is your feature request related to a problem? Please describe.
I aim to intercept a request that yields an image. Presently, the only available option is to retrieve text from the response. Unfortunately, converting this text to bytes is not effective, as it fails to handle certain characters.
Describe the solution you'd like
Providing the capability to collect the response in byte format would enable us to save the response as binary data.
Describe alternatives you've considered
Presently, I retrieve the response request, re-send it using the 'requests' library, and then utilize the 'content' property of the response to save it as binary data.
The text was updated successfully, but these errors were encountered: