首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 应用服务器 >

post方式协议头有关问题

2012-10-25 
post方式协议头问题这是一个简单的html代码post提交HTML codehtmlmeta http-equivContent-Type cont

post方式协议头问题
这是一个简单的html代码post提交

HTML code
<html><meta http-equiv="Content-Type" content="text/html; charset=uft-8" /><body><form action='http://127.0.0.1:8000' method='post'><input type='text' name='name'/><br/><input type='password' name='passwd'/><br/><input type='submit' name='提交'/></form><body></html>

这是我用socket获取的协议头,我的问题是:表单里的提交的内容哪里去了哈?
POST / HTTP/1.1

Host: 127.0.0.1:8000

Connection: keep-alive

Content-Length: 52

Cache-Control: max-age=0

Origin: null

User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/11.10 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19

Content-Type: application/x-www-form-urlencoded

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Encoding: gzip,deflate,sdch

Accept-Language: zh-CN,zh;q=0.8

Accept-Charset: GBK,utf-8;q=0.7,*;q=0.3

[解决办法]
问的不清楚

热点排行