~ubuntu-branches/ubuntu/natty/curl/natty-security

« back to all changes in this revision

Viewing changes to lib/README.encoding

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-06-20 13:56:28 UTC
  • mfrom: (3.4.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100620135628-e30tp9jldq6hq985
Tags: 7.21.0-1ubuntu1
* Merge from debian unstable.  Remaining changes: LP: #596334
  - Keep build deps in main:
    - Drop build dependencies: stunnel, libssh2-1-dev
    - Add build-dependency on openssh-server
    - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
                    Content Encoding Support for libcurl
 
2
                    Content Encoding Support for libcurl
3
3
 
4
 
* About content encodings: 
 
4
* About content encodings:
5
5
 
6
6
HTTP/1.1 [RFC 2616] specifies that a client may request that a server encode
7
7
its response. This is usually used to compress a response using one of a set
31
31
 
32
32
* The libcurl interface:
33
33
 
34
 
To cause libcurl to request a content encoding use: 
 
34
To cause libcurl to request a content encoding use:
35
35
 
36
 
    curl_easy_setopt(curl, CURLOPT_ENCODING, <string>) 
 
36
    curl_easy_setopt(curl, CURLOPT_ENCODING, <string>)
37
37
 
38
38
where <string> is the intended value of the Accept-Encoding header.
39
39