mirror of
https://github.com/curl/curl.git
synced 2026-08-26 12:03:37 +03:00
TE: rename struct field content_encoding
Since this struct member is used in the code to determine what and how to decode automatically and since it is now also used for compressed Transfer-Encodings, I renamed it to the more suitable 'auto_decoding'
This commit is contained in:
parent
0790b27910
commit
2db6f7e703
4 changed files with 16 additions and 16 deletions
|
|
@ -714,12 +714,12 @@ static CURLcode readwrite_data(struct SessionHandle *data,
|
|||
encodings handled here. */
|
||||
#ifdef HAVE_LIBZ
|
||||
switch (conn->data->set.http_ce_skip ?
|
||||
IDENTITY : k->content_encoding) {
|
||||
IDENTITY : k->auto_decoding) {
|
||||
case IDENTITY:
|
||||
#endif
|
||||
/* This is the default when the server sends no
|
||||
Content-Encoding header. See Curl_readwrite_init; the
|
||||
memset() call initializes k->content_encoding to zero. */
|
||||
memset() call initializes k->auto_decoding to zero. */
|
||||
if(!k->ignorebody) {
|
||||
|
||||
#ifndef CURL_DISABLE_POP3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue