mirror of
https://github.com/wangdoc/javascript-tutorial.git
synced 2025-12-24 11:14:21 +08:00
跟 160 行的 Content-Type 重复了 (#241)
This commit is contained in:
@@ -162,7 +162,6 @@ Content-Encoding: gzip
|
||||
Content-Length: 0
|
||||
Keep-Alive: timeout=2, max=100
|
||||
Connection: Keep-Alive
|
||||
Content-Type: text/plain
|
||||
```
|
||||
|
||||
上面的 HTTP 回应中,关键的是`Access-Control-Allow-Origin`字段,表示`http://api.bob.com`可以请求数据。该字段也可以设为星号,表示同意任意跨源请求。
|
||||
|
||||
Reference in New Issue
Block a user