Safely retrieve content delivered from a server.
Depending on how the stream is sent from the server, got will happily complete without error, even if the actual bytes transferred does not match the value in the content-length
header.
While it is possible to workaround, and detect manually, it is quite cumbersome, especially if decompress
is enabled.
FYI, it is not a problem when the server responds with content-encoding: chunked
, since node will error if such a stream is interrupted.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too