This commit is contained in:
Daniel Stenberg 2000-09-21 08:53:59 +00:00
parent 43d75c5f3b
commit 481871768b
5 changed files with 40 additions and 31 deletions

View File

@ -30,7 +30,7 @@ HTTP
- follow redirects - follow redirects
- custom HTTP request - custom HTTP request
- cookie get/send - cookie get/send
- understands the netscape cookie file - understands the netscape cookie file format
- custom headers (that can replace/remove internally generated headers) - custom headers (that can replace/remove internally generated headers)
- custom user-agent string - custom user-agent string
- custom referer string - custom referer string
@ -38,6 +38,7 @@ HTTP
- proxy authentication - proxy authentication
- time conditions - time conditions
- via http-proxy - via http-proxy
- specify interface device/port
HTTPS (*1) HTTPS (*1)
- (all the HTTP features) - (all the HTTP features)
@ -47,6 +48,7 @@ HTTPS (*1)
FTP FTP
- download - download
- authentication - authentication
- kerberos security
- PORT or PASV - PORT or PASV
- single file size information (compare to HTTP HEAD) - single file size information (compare to HTTP HEAD)
- 'type=' URL support - 'type=' URL support

View File

@ -21,9 +21,11 @@ PORTS
- Ultrix - Ultrix
- SINIX-Z v5 - SINIX-Z v5
- Alpha Tru64 v5.0 5.1
- Alpha DEC OSF 4 - Alpha DEC OSF 4
- Alpha Digital UNIX v3.2 - Alpha Digital UNIX v3.2
- Alpha FreeBSD 4.1
- Alpha Linux 2.2.16
- Alpha Tru64 v5.0 5.1
- HP-PA HP-UX 9.X 10.X 11.X - HP-PA HP-UX 9.X 10.X 11.X
- MIPS IRIX 6.2, 6.5 - MIPS IRIX 6.2, 6.5
- Power AIX 4.2, 4.3.1, 4.3.2 - Power AIX 4.2, 4.3.1, 4.3.2

View File

@ -497,6 +497,16 @@ FTP and firewalls
curl -P 192.168.0.10 ftp.download.com curl -P 192.168.0.10 ftp.download.com
NETWORK INTERFACE
Get a web page from a server using a specified port for the interface:
curl --interface eth0:1 http://www.netscape.com/
or
curl --interface 192.168.1.10 http://www.netscape.com/
HTTPS HTTPS
Secure HTTP requires SSL libraries to be installed and used when curl is Secure HTTP requires SSL libraries to be installed and used when curl is

View File

@ -22,10 +22,11 @@ For the future
* Move non-URL related functions that are used by both the lib and the curl * Move non-URL related functions that are used by both the lib and the curl
application to a separate "portability lib". application to a separate "portability lib".
* Add support for other languages than C (not important). C++ and perl comes * Add support for other languages than C. C++ and perl comes to mind. Python?
to mind. Python?
* Improve the -K config file parser. * Improve the -K config file parser (the parameter following the flag should
be possible to get specified *exactly* as it is done on a shell command
line).
* rtsp:// support -- "Real Time Streaming Protocol" (RFC 2326) * rtsp:// support -- "Real Time Streaming Protocol" (RFC 2326)
@ -36,28 +37,13 @@ For the future
started in October 1999 but halted again since it proved more work than we started in October 1999 but halted again since it proved more work than we
thought. It is still a good idea to implement though. thought. It is still a good idea to implement though.
* HTTP Pipelining/persistant connections * Authentication: NTLM. It would be cool to support that MS crap called NTLM
authentication. MS proxies and servers sometime require that. Since that
- We should introduce HTTP "pipelining". Curl could be able to request for protocol is a proprietary one, it involves reverse engineering and network
several HTTP documents in one connect. It would be the beginning for sniffing. This should however be a library-based functionality. There are a
supporing more advanced functions in the future, like web site few different efforts "out there" to make open source HTTP clients support
mirroring. This will require that the urlget() function supports several this and it should be possible to take advantage of other people's hard
documents from a single HTTP server, which it doesn't today. work.
- When curl supports fetching several documents from the same server using
pipelining, I'd like to offer that function to the command line. Anyone has
a good idea how? The current way of specifying one URL with the output sent
to the stdout or a file gets in the way. Imagine a syntax that supports
"additional documents from the same server" in a way similar to:
curl <main URL> --more-doc <path> --more-doc <path>
where --more-doc specifies another document on the same server. Where are
the output files gonna be put and how should they be named? Should each
"--more-doc" parameter require a local file name to store the result in?
Like "--more-file" as in:
curl <URL> --more-doc <path> --more-file <file>
* RFC2617 compliance, "Digest Access Authentication" * RFC2617 compliance, "Digest Access Authentication"
A valid test page seem to exist at: A valid test page seem to exist at:
@ -93,6 +79,3 @@ For the future
* Make curl capable of verifying the server's certificate when connecting * Make curl capable of verifying the server's certificate when connecting
with HTTPS://. with HTTPS://.
* Kerberos-FTP, krb4-ftp

View File

@ -2,7 +2,7 @@
.\" nroff -man curl.1 .\" nroff -man curl.1
.\" Written by Daniel Stenberg .\" Written by Daniel Stenberg
.\" .\"
.TH curl 1 "15 August 2000" "Curl 7.3" "Curl Manual" .TH curl 1 "20 September 2000" "Curl 7.3" "Curl Manual"
.SH NAME .SH NAME
curl \- get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or curl \- get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or
HTTPS syntax. HTTPS syntax.
@ -172,11 +172,20 @@ prevent that header from appearing.
(HTTP) (HTTP)
Include the HTTP-header in the output. The HTTP-header includes things Include the HTTP-header in the output. The HTTP-header includes things
like server-name, date of the document, HTTP-version and more... like server-name, date of the document, HTTP-version and more...
.IP "--interface <name>"
Perform an operation using a specified interface. You can enter interface
name, IP address or host name. An example could look like:
.B "curl --interface eth0:1 http://www.netscape.com/"
.IP "-I/--head" .IP "-I/--head"
(HTTP/FTP) (HTTP/FTP)
Fetch the HTTP-header only! HTTP-servers feature the command HEAD Fetch the HTTP-header only! HTTP-servers feature the command HEAD
which this uses to get nothing but the header of a document. When used which this uses to get nothing but the header of a document. When used
on a FTP file, curl displays the file size only. on a FTP file, curl displays the file size only.
.IP "--krb4 <level>"
(FTP) Enable kerberos4 authentication and use. The level must be entered and
should be one of 'clear', 'safe', 'confidential' or 'private'. Should you use
a level that is not one of these, 'private' will instead be used.
.IP "-K/--config <config file>" .IP "-K/--config <config file>"
Specify which config file to read curl arguments from. The config Specify which config file to read curl arguments from. The config
file is a text file in which command line arguments can be written file is a text file in which command line arguments can be written
@ -622,6 +631,9 @@ If you do find any (or have other suggestions), mail Daniel Stenberg
- Fred Noz <FNoz@siac.com> - Fred Noz <FNoz@siac.com>
- Caolan McNamara <caolan@csn.ul.ie> - Caolan McNamara <caolan@csn.ul.ie>
- Albert Chin-A-Young <china@thewrittenword.com> - Albert Chin-A-Young <china@thewrittenword.com>
- Stephen Kick <skick@epicrealm.com>
- Martin Hedenfalk <mhe@stacken.kth.se>
- Richard Prescott
.SH WWW .SH WWW
http://curl.haxx.se http://curl.haxx.se