1
0
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:
Daniel Stenberg 2003-04-22 22:33:39 +00:00
parent c95814c04d
commit a84b0fbd52
2 changed files with 2 additions and 2 deletions

View File

@ -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;
} }

View File

@ -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;