Commit 02104c0
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 <noreply@anthropic.com>
PR-URL: #62206
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent a98d9f6 commit 02104c0
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2319 | 2319 | | |
2320 | 2320 | | |
2321 | 2321 | | |
2322 | | - | |
2323 | | - | |
| 2322 | + | |
| 2323 | + | |
2324 | 2324 | | |
2325 | 2325 | | |
2326 | 2326 | | |
| |||
4583 | 4583 | | |
4584 | 4584 | | |
4585 | 4585 | | |
| 4586 | + | |
4586 | 4587 | | |
4587 | 4588 | | |
4588 | 4589 | | |
| |||
0 commit comments