CURL

来自开放百科 - 灰狐
跳转到: 导航, 搜索
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 CURL Thanks, Wikipedia.

curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a busload of other useful tricks.

http://curl.haxx.se/

example:

$ curl -I http://game.baidu.com/
HTTP/1.1 302 Found
Date: Fri, 23 Nov 2007 14:32:39 GMT
Server: Apache/1.3.36 (Unix) Resin/2.1.17
Cache-Control: private
Location: http://game.baidu.com/
Set-Cookie: JSESSIONID=ds626cdKgMya; path=/
Connection: close
Content-Type: text/html; charset=gbk
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱