mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Dan Fandrich corrected the error messages on "bad encoding".
This commit is contained in:
parent
c95814c04d
commit
a84b0fbd52
@ -201,7 +201,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
|
|||||||
default:
|
default:
|
||||||
failf (conn->data,
|
failf (conn->data,
|
||||||
"Unrecognized content encoding type. "
|
"Unrecognized content encoding type. "
|
||||||
"libcurl understands `identity' and `deflate' "
|
"libcurl understands `identity', `deflate' and `gzip' "
|
||||||
"content encodings.");
|
"content encodings.");
|
||||||
return CHUNKE_BAD_ENCODING;
|
return CHUNKE_BAD_ENCODING;
|
||||||
}
|
}
|
||||||
|
@ -915,7 +915,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||||||
case COMPRESS: /* FIXME 08/27/02 jhrg */
|
case COMPRESS: /* FIXME 08/27/02 jhrg */
|
||||||
default:
|
default:
|
||||||
failf (data, "Unrecognized content encoding type. "
|
failf (data, "Unrecognized content encoding type. "
|
||||||
"libcurl understands `identity' and `deflate' "
|
"libcurl understands `identity', `deflate' and `gzip' "
|
||||||
"content encodings.");
|
"content encodings.");
|
||||||
result = CURLE_BAD_CONTENT_ENCODING;
|
result = CURLE_BAD_CONTENT_ENCODING;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user