Commit 1020321
doc: fix overstated Date header requirement in response.sendDate
The docs stated "HTTP requires the Date header in responses" which
oversimplifies the actual requirement. Per RFC 9110 Section 6.6.1,
the Date header is required only in most responses (2xx/3xx/4xx from
servers with a clock), not all. Reference the specific RFC section.
Fixes: #42619
Co-Authored-By: Claude Opus 4.6 <[email protected]>
PR-URL: #62206
Reviewed-By: Tim Perry <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>1 parent 9caa785 commit 1020321
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2301 | 2301 | | |
2302 | 2302 | | |
2303 | 2303 | | |
2304 | | - | |
2305 | | - | |
| 2304 | + | |
| 2305 | + | |
2306 | 2306 | | |
2307 | 2307 | | |
2308 | 2308 | | |
| |||
4558 | 4558 | | |
4559 | 4559 | | |
4560 | 4560 | | |
| 4561 | + | |
4561 | 4562 | | |
4562 | 4563 | | |
4563 | 4564 | | |
| |||
0 commit comments