Dan Fandrich's added gzip support documented.

This commit is contained in:
Daniel Stenberg 2003-04-11 08:51:24 +00:00
parent 019c4088cf
commit c06c44f286

View File

@ -335,10 +335,13 @@ prompt function.
.SH HTTP OPTIONS .SH HTTP OPTIONS
.TP 0.4i .TP 0.4i
.B CURLOPT_ENCODING .B CURLOPT_ENCODING
Two encodings are supported \fIdentity\fP, which does nothing, and Three encodings are supported: \fIidentity\fP, which does nothing,
\fIdeflate\fP to request the server to compress its reponse using the \fIdeflate\fP which requests the server to compress its response using the
zlib algorithm. This is not an order, the server may or may not do it. zlib algorithm, and \fIgzip\fP which requests the gzip algorithm. This
See the special file lib/README.encoding for details. is a request, not an order; the server may or may not do it. This
option must be set (to any value) or else any unsolicited encoding done
by the server is ignored. See the special file lib/README.encoding for
details.
.TP .TP
.B CURLOPT_FOLLOWLOCATION .B CURLOPT_FOLLOWLOCATION
A non-zero parameter tells the library to follow any Location: header that the A non-zero parameter tells the library to follow any Location: header that the