CORS cross-domain resource sharing learning record

Cross-domain access request and response according to the following test code information is as follows:

 

General: 

Request URL:http://server-b.com/test.txt
Referrer Policy:no-referrer-when-downgrade
 
Request Headers:
Accept:*/*

Response Headers:
Accept-Ranges:bytes

Access-Control-Allow-Origin:http://server-a.com

Ali-Swift-Global-Savetime:1584429767

Connection:keep-alive

Content-Length:6

Content-Type:text/plain; charset=UTF-8

Date:Tue, 17 Mar 2020 07:22:47 GMT

EagleId: 7ae122a015844297678574758e

ETag:"6-5a107cbc6939e"

Last-Modified:Tue, 17 Mar 2020 07:22:19 GMT

Server: A switch network

Timing-Allow-Origin:*

Via:cache45.l2cn1824[81,200-0,M], cache8.l2cn1824[82,0], cache8.l2cn1824[83,0], kunlun2.cn24[90,200-0,M], kunlun2.cn24[91,0]
X-Cache:MISS TCP_MISS dirn:-2:-2

X-Swift-CacheTime:10

Guess you like

Origin www.cnblogs.com/guguguliu/p/12513848.html