• Daniel Stenberg's avatar
    transfer-encoding: added new option and cmdline · 8e4fb01e
    Daniel Stenberg authored
    Added CURLOPT_TRANSFER_ENCODING as the option to set to request Transfer
    Encoding in HTTP requests (if built zlib enabled). I also renamed
    CURLOPT_ENCODING to CURLOPT_ACCEPT_ENCODING (while keeping the old name
    around) to reduce the confusion when we have to encoding options for
    HTTP.
    
    --tr-encoding is now the new command line option for curl to request
    this, and thus I updated the test cases accordingly.
    8e4fb01e