-
Notifications
You must be signed in to change notification settings - Fork 28
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
Unable to Access ETag Header in Fetch API Response #483
Comments
Could you check if this has been fixed? I added additional CORS headers. |
Sorry, still can't get the Etag. I see in your commit you describe XHR requests, I'm using fetch or does this not work with fetch? |
XHR/Fetch requests are the same thing. It seems the deploy may have gotten stuck, so you could try again to see if it has been resolved now. Are you perhaps trying to access the liveboard endpoint? I noticed some headers aren't properly populating there. |
Hi, thanks for the notice. I have just tested it and it's fixed. |
Okay so the headers is only present if there's a 200 response. When checking for a new eTag, the 304 response doesn't have the following headers:
|
Problem:
Based on the documentation ETag-based caching should be supported. However, I am unable to access the ETag header in the Fetch API response using response.headers.get('ETag'). The ETag header is not visible or accessible through the Headers object.
Details:
The text was updated successfully, but these errors were encountered: