+ -
当前位置:首页 → 问答吧 → http协议响应

http协议响应

时间:2011-11-01

来源:互联网

我通过telnet向我自己开的nginx发送了POST请求

POST /slu/index.php HTTP/1.1
Host:localhost
Content-Type:text/xml
Content-Length:2
Connection:close

ab

返回的内容是:
HTTP/1.1 200 OK
Server: nginx/1.0.5
Date: Tue, 01 Nov 2011 08:24:10 GMT
Content-Type: text/plain
Transfer-Encoding: chunked
Connection: close
X-Powered-By: PHP/5.3.6-13ubuntu3.2

5
ab



0

我的nginx的php脚本内容是
<?php

header("Content-Type: text/plain");

$slu = file_get_contents("php://input");
echo $slu;


?>

我想麻烦问下服务器的返回
5
ab



0
ab两端的数字是什么含义?谢谢啦

作者: Shawn_F   发布时间: 2011-11-01

我晕倒,一个回复的没有??

作者: Shawn_F   发布时间: 2011-11-02

热门下载

更多