php header问题
宇轩
宇轩 2022-10-17 19:21:25
0
0
648

通过curl返回的header信息怎么处理成关联数组,数据如下;

HTTP/1.1 200 OK

Server: nginx

Date: Mon, 17 Oct 2022 10:54:43 GMT

Content-Type: application/json; charset=utf-8

Content-Length: 2168

Connection: keep-alive

Keep-Alive: timeout=8

Cache-Control: no-cache, must-revalidate

X-Content-Type-Options: nosniff

Request-ID: 08F3E8****0610E80618A1****A306209C2B28F5E205-0

Content-Language: zh-CN

Wechatpay-Nonce: a47a9c64de60****07eb889578dcf82c

Wechatpay-Signature: sign

Wechatpay-Timestamp: 1666004083

Wechatpay-Serial: 6D64345352D****44D12854B73****F1157FAC6E

Wechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048

懂的麻烦帮我一下,谢谢了

宇轩
宇轩

全部回复(0)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板