目前使用RL-TCPNET库,用起来还不错,但现在用到json,发现RL的http对JSON返回的 content_type 是怎样修改http header的Content-type: application/x-javascript,我想修改为 Content-type: application/json,但不知道怎么修改,还是说RL的库根本就没有提供修改此项的接口?请大家指导一下,谢谢。
RE:使用RL-TCPNET库,怎样修改http header的content_type
RE:使用RL-TCPNET库,怎样修改http header的content_type
回复:使用RL-TCPNET库,怎样修改http header的content_type
header('Content-type: application/json');
请问这个函数在什么地方有定义阿,谢谢
RE:使用RL-TCPNET库,怎样修改http header的content_type
RE:使用RL-TCPNET库,怎样修改http header的content_type
RE:使用RL-TCPNET库,怎样修改http header的content_type