-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the same timestamp for etag as for last-modified
According to MDN, the last-modified header is a fallback to the etag. Thus, we should be using the same value explicitly. Prior to this commit, the value was implicitly the same, because under the hood, Alchemy used the `published_at` timestamp. With this commit, it's explicitly the same and allows Alchemy to implement a `last_modified_at` method that will be respected.
- Loading branch information
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters