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

cohttp-eio(server) : an origin server must generate Date header #932

Closed
bikallem opened this issue Sep 6, 2022 · 1 comment · Fixed by #955
Closed

cohttp-eio(server) : an origin server must generate Date header #932

bikallem opened this issue Sep 6, 2022 · 1 comment · Fixed by #955

Comments

@bikallem
Copy link
Contributor

bikallem commented Sep 6, 2022

According to https://www.rfc-editor.org/rfc/rfc9110#section-6.6.1, we must generate a Date header in some reponses from an origin server.

An origin server with a clock (as defined in Section 5.6.7) MUST generate a Date header field in all 2xx (Successful), 3xx (Redirection), and 4xx (Client Error) responses, and MAY generate a Date header field in 1xx (Informational) and 5xx (Server Error) responses.

@bikallem
Copy link
Contributor Author

Depends on this ocaml-multicore/eio#308.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant