Skip to content

Commit 66dcfda

Browse files
committed
docs(bom): fix xmlHttpRequest
1 parent 564ab11 commit 66dcfda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/bom/xmlhttprequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if (xhr.readyState === 4) {
9595
}
9696
```
9797

98-
上面代码中,`xhr.readyState`等于`4`时,表明脚本发出的 HTTP 请求已经成功。其他情况,都表示 HTTP 请求还在进行中。
98+
上面代码中,`xhr.readyState`等于`4`时,表明脚本发出的 HTTP 请求已经完成。其他情况,都表示 HTTP 请求还在进行中。
9999

100100
### XMLHttpRequest.onreadystatechange
101101

@@ -247,7 +247,7 @@ xhr.send(null);
247247

248248
- 200, OK,访问正常
249249
- 301, Moved Permanently,永久移动
250-
- 302, Move temporarily,暂时移动
250+
- 302, Moved temporarily,暂时移动
251251
- 304, Not Modified,未修改
252252
- 307, Temporary Redirect,暂时重定向
253253
- 401, Unauthorized,未授权

0 commit comments

Comments
 (0)