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 was expecting resp.body to return the image (as a buffer, likely)
When I dig into the resp.body Passthrough object, I get a buffer in the _readableState.buffer.head.data area... but it seems to only be 1k. ... which makes sense, as this code gives me a 1k image that only has the first few pixels.
How to do ensure the connection provides the entire image?
The text was updated successfully, but these errors were encountered:
digest-fetch only wraps around fetch/node-fetch, it does not touch the response body, please check the fetch/node-fetch documentation to get the full response data.
With the following code:
resp.body is:
I was expecting resp.body to return the image (as a buffer, likely)
When I dig into the resp.body
Passthrough
object, I get a buffer in the _readableState.buffer.head.data area... but it seems to only be 1k. ... which makes sense, as this code gives me a 1k image that only has the first few pixels.How to do ensure the connection provides the entire image?
The text was updated successfully, but these errors were encountered: