Commit c26cc51
committed
Fix http2 content-length header check (#12747)
HEAD method with "Content-Length" header was returning 502 code
because header differs from payload length as there is no payload
in this case.
See https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2.61 parent 68e4bd3 commit c26cc51
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
0 commit comments