ChinaUnix.net
相关文章推荐:

python http server post

转自:http://www.cppblog.com/woaidongmao/archive/2008/05/29/51476.aspx http post和GET的区别 1、http 只有post和GET 两种命令模式; 2、post是被设计用来向上放东西的,而GET是被设计用来从服务器取东西的,GET也能够向服务器传送较少的数据,而Get之所以也能传送数据,只是用来设计告诉服务器,你到底需要什么样的数据.post的信息作为http 请求的内容,而GET是在http 头部传输的; 3、post与GET在http 中传送的方式不同,GE...

by iceway - 网络技术文档中心 - 2008-09-18 16:02:06 阅读(1057) 回复(0)

相关讨论

public void postData() { // Create a new httpClient and post Header httpClient httpclient = new DefaulthttpClient(); httppost httppost = new httppost("http://www.yoursite.com/script.php"); try { // Add your data List nameValuePairs = new ArrayList(2); nameValuePairs.add(new BasicNameValuePair("id", "12345")); nameValuePairs.add(new BasicNam...

by figofuture - Java文档中心 - 2009-05-31 19:49:19 阅读(1765) 回复(0)

一、http-GET和http-post   http-GET和http-post是使用http的标准协议动词,用于编码和传送变量名/变量值 对参数,并且使用相关的请求语义。每个http-GET和http-post都由一系列http请求头 组成,这些请求头定义了客户端从服务器请求了什么,而响应则是由一系列http应答头和应答 数据组成,如果请求成功则返回应答。   http-GET以使用MIME类型application/x-www-form-urlencoded的 urlencoded文本的格式传递参数。Urlencoding是...

by iceway - 网络技术文档中心 - 2008-09-18 16:29:31 阅读(1180) 回复(0)

[code] [http_post_VARS] => Array ( [cb] => Array ( [1] => 1 [2] => 2 [3] => 3 [4] => 4 ) ) [_post] => Array ( [cb] => ) [/code] 靠

by yarco3 - PHP - 2006-08-10 09:50:50 阅读(928) 回复(2)

my $URL = 'http://www.baidu.com/'; my $res = LWP::UserAgent->new->request(new http::Request GET=>$URL); print header,$res->content; 如上所示,用GET方式传值还是这里的GET另有其他意思。 http::Request里的post传值是如何传递的饿。。。 会请写几句代码举个例子,伪代码也好,谢谢。

by chinatzbcn - Perl - 2008-06-24 09:02:15 阅读(6569) 回复(1)

有一个ASP的页面 我用工具把发出去的包的字符提取出来 然用用C写了个SOCKET连接 手动把请求发出去 得到的是400 BAD REQUEST 我不明白是什么原因 那个系统要登录的 我在网页上登录了 是不是程序发请求时服务器是不承认登录的? 这些是发送的请求 post /XK/Enroll.aspx http/1.1 Host: ***.***.***.***:100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0....

by lacalling - 网络技术 - 2008-04-22 15:40:30 阅读(1910) 回复(4)
by ren3000 - PHP - 2004-01-02 16:42:32 阅读(1709) 回复(1)

IBM http server http://www-306.ibm.com/software/webservers/httpservers/prereq.html 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/54041/showart_1089777.html

by itlinux - AIX文档中心 - 2008-07-23 15:13:09 阅读(1406) 回复(0)

请问AIX4.3.3上的web server 是否是指把我们的机器配成 http 的服务器 我是新人,请多指教!! 有这方面的配置参考文件吗?

by tongyuanliu - AIX - 2003-04-07 10:55:43 阅读(946) 回复(4)

使用python,写一个发http包的client和回应client包的server端,如何写?

by firmlyjin - Python - 2009-07-03 20:15:44 阅读(2449) 回复(3)

1.有时间就来研究研究python中的lib包下面的所有模块代码,写得相当有水平的! 实现一个简单的http服务器 #Copyright Jon Berg , turtlemeat.com import string,cgi,time from os import curdir, sep from Basehttpserver import BasehttpRequestHandler, httpserver #import pri class MyHandler(BasehttpRequestHandler): def do_GET(self): try: if self.path.endswith(".html"): f = ...

by hkebao - Python文档中心 - 2009-02-03 12:57:38 阅读(2617) 回复(0)