Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
ETag
and If-None-Match
when getting issues
When getting an issue, return an `ETag`, even if the issue doesn’t exist. When request contains `If-None-Match` and hash matches, then return `304 Not Modified`. The 304 response will be returned whether issue exists or not. The hash depends on: - a hasing version - user id - issue id - issue last updated Fixes #23648
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 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
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