Commit c04a54f
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 e4a8ca6 commit c04a54f
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2298 | 2298 | | |
2299 | 2299 | | |
2300 | 2300 | | |
2301 | | - | |
2302 | | - | |
| 2301 | + | |
| 2302 | + | |
2303 | 2303 | | |
2304 | 2304 | | |
2305 | 2305 | | |
| |||
4555 | 4555 | | |
4556 | 4556 | | |
4557 | 4557 | | |
| 4558 | + | |
4558 | 4559 | | |
4559 | 4560 | | |
4560 | 4561 | | |
| |||
0 commit comments