BramComyn / safeguard-fetch

0 stars 0 forks source link

Infinite Client in Node.js #12

Closed BramComyn closed 1 month ago

BramComyn commented 1 month ago

As requested in this reply, I should probably test whether a normal Node.js client will keep accepting data even if the content-length header specification is exceeded.

BramComyn commented 1 month ago

See #13 for more explanation. I will assign tests to this and expand upon it to try and show that the client sends a RST_STREAM frame once the received data size exceeds that specified in the content-length header. It still bugs me that seemingly everyone, except Chromium-family browsers, do this, but I can't find anything in the specs related to this behaviour.