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

Implement 'Date' header #34

Open
Luukdegram opened this issue Jun 14, 2021 · 0 comments
Open

Implement 'Date' header #34

Luukdegram opened this issue Jun 14, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Luukdegram
Copy link
Owner

HTTP 1.1 describes the requirement of having to include a Date header, containing the current date in GMT. We can use the following format for this:
Date: Fri, 31 Dec 1999 23:59:59 GMT

Currently, there's an open PR on Zig's std: #9040 that we could leverage for this.
But we will have to build upon it to get the current day of the week. (mon, thu, etc)

@Luukdegram Luukdegram added the enhancement New feature or request label Jun 14, 2021
@Luukdegram Luukdegram added this to the HTTP 1.1 milestone Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant