Commit a84b0fbd authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Dan Fandrich corrected the error messages on "bad encoding".

parent c95814c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
      }
+1 −1
Original line number Diff line number Diff line
@@ -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;