正常使用curl访问 http 时,如果出现http status不为200时,无响应时,看不到http status,即无任何展示,如果需要查看http status 可通过下面的命令

curl -w '%{http_code}' https://baidu.com