答案1
不是。不过,您可以在 Windows 上的 cygwin 下使用 curl,甚至可以使用本机 dos/windows 客户端来满足您的需求。http://curl.haxx.se/download.html
答案2
对于简单的操作,您可以使用简单的telnet
。然后手写 HTTP 协议。哦,纯文本协议的乐趣 :)
telnet google.com 80
Trying 209.85.149.105...
Connected to google.com.
Escape character is '^]'.
GET / HTTP/1.1
Host: google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Date: Tue, 12 Apr 2011 20:58:48 GMT
Expires: Thu, 12 May 2011 20:58:48 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 1; mode=block
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
^C
Connection closed by foreign host.