Dan Fandrich corrected the error messages on "bad encoding".
authorDaniel Stenberg <daniel@haxx.se>
Tue, 22 Apr 2003 22:33:39 +0000 (22:33 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Apr 2003 22:33:39 +0000 (22:33 +0000)
lib/http_chunks.c
lib/transfer.c

index ca9b55366a51f16b3104ceb476ac558d5d89a8d7..90f891f3103e153339df60fbd74b39fbe6ac40e6 100644 (file)
@@ -201,7 +201,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
         default:
           failf (conn->data,
                  "Unrecognized content encoding type. "
-                 "libcurl understands `identity' and `deflate' "
+                 "libcurl understands `identity', `deflate' and `gzip' "
                  "content encodings.");
           return CHUNKE_BAD_ENCODING;
       }
index 21b23b561577281eab8f07aeace3dc0b25c93e4b..cd9930c0f87a684c3fde3b63b926c18e1735ea91 100644 (file)
@@ -915,7 +915,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
               case COMPRESS:          /* FIXME 08/27/02 jhrg */
               default:
                 failf (data, "Unrecognized content encoding type. "
-                       "libcurl understands `identity' and `deflate' "
+                       "libcurl understands `identity', `deflate' and `gzip' "
                        "content encodings.");
                 result = CURLE_BAD_CONTENT_ENCODING;
                 break;