HTTP
_HelloBug
这个作者很懒,什么都没留下…
展开
-
CORS 跨域请求
CORS 跨域资源共享 (Cross-Origin Resource Sharing) 这里跨域请求服务器以 nginx 服务器为例说明 1、跨域请求特征 请求中包含 Origin 头域,表明从哪个域名中跳到当前域名,如下请求: GET /test HTTP/1.1 Host: xxxx Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Ge原创 2021-07-05 20:14:23 · 129 阅读 · 0 评论 -
HTTP 范围请求
1、如何查看服务器是否支持范围请求 请求 [root@VM-0-7-centos nginx]# curl localhost:80/site1-400.jpg -I HTTP/1.1 200 OK Server: openresty/1.19.3.1 Date: Sat, 03 Jul 2021 01:49:29 GMT Content-Type: image/jpeg Content-Length: 2240070 Last-Modified: Tue, 22 Jun 2021 11:36:30 GM原创 2021-07-03 10:37:57 · 293 阅读 · 0 评论