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
{{ message }}
Repository navigation
Node.js abort the response if the body length do not match "Content-Length" during 304聽#31037
changed the title [-]Node 13 abort the response if the body length do not match "Content-Length" during 304[/-][+]Node.js abort the response if the body length do not match "Content-Length" during 304[/+]on Dec 21, 2019
Activity
targos commentedon Dec 20, 2019
I just added a listener to the "aborted" event, to show that in both Node 12 and 13, the request is aborted prematurely
[-]Node 13 abort the response if the body length do not match "Content-Length" during 304[/-][+]Node.js abort the response if the body length do not match "Content-Length" during 304[/+]targos commentedon Dec 21, 2019
/cc @nodejs/http
BlackYoup commentedon Aug 17, 2020
Hello, I found a way to fix this issue. I'll be able to open a PR in the next few days, I still need to come up with a working test :)
http: allow Content-Length header for 304 responses
http: allow Content-Length header for 304 responses
http: allow Content-Length header for 304 responses