Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the Date header field value first. #44

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Use the Date header field value first. #44

merged 1 commit into from
Jan 4, 2024

Conversation

k1LoW
Copy link
Member

@k1LoW k1LoW commented Jan 4, 2024

A recipient with a clock that receives a response with an invalid Date header field value MAY replace that value with the time that response was received.

https://httpwg.org/specs/rfc9110.html#rfc.section.6.6.1

A recipient with a clock that receives a response with an invalid Date
header field value MAY replace that value with the time that response
was received.

https://httpwg.org/specs/rfc9110.html#rfc.section.6.6.1
@k1LoW k1LoW added bug Something isn't working rfc9111 labels Jan 4, 2024
@k1LoW k1LoW self-assigned this Jan 4, 2024
Copy link
Contributor

github-actions bot commented Jan 4, 2024

Code Metrics Report

main (d1326e2) #44 (bf82df0) +/-
Coverage 80.3% 80.7% +0.4%
Code to Test Ratio 1:2.0 1:2.0 +0.0
Test Execution Time 38s 38s 0s
Details
  |                     | main (d1326e2) | #44 (bf82df0) |  +/-  |
  |---------------------|----------------|---------------|-------|
+ | Coverage            |          80.3% |         80.7% | +0.4% |
  |   Files             |              4 |             4 |     0 |
  |   Lines             |            304 |           300 |    -4 |
- |   Covered           |            244 |           242 |    -2 |
+ | Code to Test Ratio  |          1:2.0 |         1:2.0 |  +0.0 |
  |   Code              |            670 |           660 |   -10 |
  |   Test              |           1342 |          1342 |     0 |
  | Test Execution Time |            38s |           38s |    0s |

Code coverage of files in pull request scope (85.8% → 86.7%)

Files Coverage +/-
rfc9111/shared.go 86.7% +0.9%

Reported by octocov

@k1LoW k1LoW merged commit 7f26b91 into main Jan 4, 2024
3 checks passed
@k1LoW k1LoW deleted the use-date branch January 4, 2024 02:37
@github-actions github-actions bot mentioned this pull request Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rfc9111
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant