-
Notifications
You must be signed in to change notification settings - Fork 169
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
ServeDir lacks the Last-Modified
response header
#411
Comments
To my understanding, it isn't strictly required to send a |
It is also OK to return an |
Well, you would know it's unchanged because of the 304 response. An I was just trying to note that the current behavior isn't technically wrong, but it might still be worthwhile to send a |
Not generating any of the representation headers conflicts a bit with the word MUST Also MDN notes that the same RFC suggests generating both ETag and Last Modified when you can. |
Here's the full section:
Note that
This isn't really related to this issue, which is concerned with sending the |
Bug Report
Version
0.4.4
Platform
64-bit (Windows)
Crates
Description
The
ServeDir
lacks theLast-Modified
response header even when it returns a 304 response.The text was updated successfully, but these errors were encountered: