File tree 1 file changed +2
-2
lines changed
5-network/08-xmlhttprequest
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ There are 3 methods for HTTP-headers:
269
269
270
270
```warn header="Headers limitations"
271
271
Several headers are managed exclusively by the browser, e.g. `Referer` and `Host`.
272
- The full list is [in the specification](http ://www.w3. org/TR/XMLHttpRequest/ #the-setrequestheader-method).
272
+ The full list is [in the specification](https ://xhr.spec.whatwg. org/#the-setrequestheader() -method).
273
273
274
274
`XMLHttpRequest` is not allowed to change them, for the sake of user safety and correctness of the request.
275
275
```
@@ -509,7 +509,7 @@ xhr.onerror = function() {
509
509
};
510
510
```
511
511
512
- There are actually more events, the [modern specification](http ://www.w3. org/TR/XMLHttpRequest /#events) lists them (in the lifecycle order):
512
+ There are actually more events, the [modern specification](https ://xhr.spec.whatwg. org/#events) lists them (in the lifecycle order):
513
513
514
514
- `loadstart` -- the request has started.
515
515
- `progress` -- a data packet of the response has arrived, the whole response body at the moment is in `response`.
You can’t perform that action at this time.
0 commit comments