问题描述
我正在尝试使用curl命令获取特定的CSS,下面的命令可以正常工作。
>curl https://www.your-domain.com/general/style.css
HTTP/1.1 200 OK
Server: Apache
x-frame-options: SAMEORIGIN
Last-Modified: Sat,28 Mar 2020 01:01:25 GMT
但是当我尝试使用curl命令加载另一个CSS时:
>curl https://www.your-domain.com/another/buz.css
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=iso-8859-1
Content-Length: 216
Access-Control-Allow-Credentials: true
Cache-Control: max-age=1800
Expires: Sat,10 Oct 2020 18:46:37 GMT
Date: Sat,10 Oct 2020 18:16:37 GMT
Connection: keep-alive
Set-Cookie: disable-sac=on; path=/
Set-Cookie: dpp_cdc=off; path=/
Set-Cookie: dpp_drug_dir=off; path=/
Set-Cookie: dpp_sft=off; path=/
Set-Cookie: enable_imz=on; path=/
Set-Cookie: mc_hl7=on; path=/
Set-Cookie: rxm_rx_challenge=on; path=/
Set-Cookie: s2cHero_lean6=on; path=/
X-Req: allow-ca-ut,www.your-domain.com-ext_css
x-frame-options: SAMEORIGIN
Access-Control-Allow-Origin: www.your-domain.com
Strict-Transport-Security: max-age=31104000 ; includeSubDomains
第二条路由是hosted in a different server
,而akamai
进行路由。正在设置特定的cookie,该cookie重定向到其他服务器。如果打开,akamai路由到其他服务器。
-
What should I do so that the second URL is working via curl command?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)