-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Etag support #4594
Labels
Comments
greshilov
added a commit
to greshilov/aiohttp
that referenced
this issue
Nov 28, 2020
greshilov
added a commit
to greshilov/aiohttp
that referenced
this issue
Nov 28, 2020
greshilov
added a commit
to greshilov/aiohttp
that referenced
this issue
Nov 28, 2020
greshilov
added a commit
to greshilov/aiohttp
that referenced
this issue
Nov 28, 2020
greshilov
added a commit
to greshilov/aiohttp
that referenced
this issue
Nov 28, 2020
greshilov
added a commit
to greshilov/aiohttp
that referenced
this issue
Jan 31, 2021
webknjaz
pushed a commit
that referenced
this issue
Feb 14, 2021
This change adds an `etag` property to the response object and `if_match`, `if_none_match` properties to the request object. Also, it implements ETag support in static routes and fixes a few bugs found along the way. Refs: * https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26 * https://tools.ietf.org/html/rfc7232#section-2.3 * https://tools.ietf.org/html/rfc7232#section-6 PR #5298 by @greshilov Resolves #4594 Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Andrew Svetlov <[email protected]>
greshilov
added a commit
to greshilov/aiohttp
that referenced
this issue
Mar 23, 2021
This change adds an `etag` property to the response object and `if_match`, `if_none_match` properties to the request object. Also, it implements ETag support in static routes and fixes a few bugs found along the way. Refs: * https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26 * https://tools.ietf.org/html/rfc7232#section-2.3 * https://tools.ietf.org/html/rfc7232#section-6 PR aio-libs#5298 by @greshilov Resolves aio-libs#4594 Co-Authored-By: Serhiy Storchaka <[email protected]> Co-Authored-By: Andrew Svetlov <[email protected]>
5 tasks
webknjaz
pushed a commit
that referenced
this issue
Mar 24, 2021
This change adds an `etag` property to the response object and `if_match`, `if_none_match` properties to the request object. Also, it implements ETag support in static routes and fixes a few bugs found along the way. Refs: * https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26 * https://tools.ietf.org/html/rfc7232#section-2.3 * https://tools.ietf.org/html/rfc7232#section-6 PR #5298 by @greshilov Resolves #4594 Co-Authored-By: Serhiy Storchaka <[email protected]> Co-Authored-By: Andrew Svetlov <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Andrew Svetlov <[email protected]>
commonism
pushed a commit
to commonism/aiohttp
that referenced
this issue
Apr 27, 2021
This change adds an `etag` property to the response object and `if_match`, `if_none_match` properties to the request object. Also, it implements ETag support in static routes and fixes a few bugs found along the way. Refs: * https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26 * https://tools.ietf.org/html/rfc7232#section-2.3 * https://tools.ietf.org/html/rfc7232#section-6 PR aio-libs#5298 by @greshilov Resolves aio-libs#4594 Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Andrew Svetlov <[email protected]>
commonism
pushed a commit
to commonism/aiohttp
that referenced
this issue
Apr 27, 2021
This change adds an `etag` property to the response object and `if_match`, `if_none_match` properties to the request object. Also, it implements ETag support in static routes and fixes a few bugs found along the way. Refs: * https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26 * https://tools.ietf.org/html/rfc7232#section-2.3 * https://tools.ietf.org/html/rfc7232#section-6 PR aio-libs#5298 by @greshilov Resolves aio-libs#4594 Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Andrew Svetlov <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If-None-Match
header takes precedence overIf-Modified-Since
and allows caching http clients to refresh the content only if content etag changes. Right now, only aiohttp server supports onlyIf-Modified-Since
header but notIf-None-Match
💡 Describe the solution you'd like
If GET/HEAD request contains
If-None-Match
, the server should check for the resource etag and, it the etag matches the value inIf-None-Match
header, returnNot Modified
304. More details are in RFC2616❓ Describe alternatives you've considered
None
The text was updated successfully, but these errors were encountered: