#if defined(HTTP_HAVE_ZLIB) || defined(HAVE_ZLIB)
/* check for compressed data */
- if ((c = http_message_header(msg, "Content-Encoding"))) {
+ if (http_message_header(msg, "Vary") && (c = http_message_header(msg, "Content-Encoding"))) {
char *decoded = NULL;
size_t decoded_len = 0;
# if defined(HAVE_ZLIB) && !defined(HTTP_HAVE_ZLIB)
<license>BSD, revised</license>
<notes><![CDATA[
+ Added 'bodyonly' request option
+
+* Fixed bug which caused GZIP encoded archives to be decoded
]]></notes>
<contents>
<dir name="/">