Skip to content

Commit 75a56da

Browse files
committed
fixes #2318
1 parent 6d9ab12 commit 75a56da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

5-network/08-xmlhttprequest/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ There are 3 methods for HTTP-headers:
269269
270270
```warn header="Headers limitations"
271271
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).
273273
274274
`XMLHttpRequest` is not allowed to change them, for the sake of user safety and correctness of the request.
275275
```
@@ -509,7 +509,7 @@ xhr.onerror = function() {
509509
};
510510
```
511511
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):
513513
514514
- `loadstart` -- the request has started.
515515
- `progress` -- a data packet of the response has arrived, the whole response body at the moment is in `response`.

0 commit comments

Comments
 (0)