You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -169,19 +169,14 @@ For cross-origin request, by default JavaScript may only access so-called "safe"
169
169
170
170
-`Cache-Control`
171
171
-`Content-Language`
172
+
-`Content-Length`
172
173
-`Content-Type`
173
174
-`Expires`
174
175
-`Last-Modified`
175
176
-`Pragma`
176
177
177
178
Accessing any other response header causes an error.
178
179
179
-
```smart
180
-
There's no `Content-Length` header in the list!
181
-
182
-
This header contains the full response length. So, if we're downloading something and would like to track the percentage of progress, then an additional permission is required to access that header (see below).
183
-
```
184
-
185
180
To grant JavaScript access to any other response header, the server must send the `Access-Control-Expose-Headers`header. It contains a comma-separated list of unsafe header names that should be made accessible.
0 commit comments