Some older ISS servers can send zero-length deflate responses. This causes the response to ‘slip through the cracks’, leading to the response promise to never be fulfilled.
I created a PR #903 to fix this over a month ago, but I am creating an issue due to inactivity.
Reproduction
More detail can be be found in the PR. This affects both version 2.x and 3.x. Essentially any response similar to
HTTP/1.1 200 OK
Content-Encoding: deflate
Content-Length: 0
Server: Microsoft-IIS/7.5
Expected behaviour
The node-fetch response promise should be fulfilled.
Some older ISS servers can send zero-length deflate responses. This causes the response to ‘slip through the cracks’, leading to the response promise to never be fulfilled.
I created a PR #903 to fix this over a month ago, but I am creating an issue due to inactivity.
Reproduction
More detail can be be found in the PR. This affects both version 2.x and 3.x. Essentially any response similar to
Expected behaviour
The node-fetch response promise should be fulfilled.