-
Notifications
You must be signed in to change notification settings - Fork 114
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
Return ETag on 304 as well. #160
Comments
I guess further down the line, we will need to add support for multiple |
The thing is that sub-resource etags aren't current's one and an etag is associated with a specific path+query-string, so it should not be used to edit another resource. |
The link you posted is extremely useful @Dragomir-Ivanov.
As I understand it from the link, it's not about sending multiple sub-resource E-tags, but about sending an E-tag for multiple versions of the same resource (path+query-string). So a client (or browser) could theoretically cache up several versions of resource
|
Btw, this is defiantly in the enchantment category. The main goal of supporting it would be out of correctness and browser compatibility - if this is something that a lot of browsers do. |
Oh yeah ok, got it. Yes absolutely, we should create a ticket for that. |
Reading something about ETags, I found this:
http://www.bendeutsch.de/blog/The-difference-between-strong-and-weak-ETags
It seems that WebApp/Browser can supply multiple Etags on GET request for cached resources, so server must pick the right one, thus needs to return latest ETag on 304.
The text was updated successfully, but these errors were encountered: