/[Apache-SVN]/httpd/httpd/trunk/modules/filters/mod_deflate.c
ViewVC logotype

Diff of /httpd/httpd/trunk/modules/filters/mod_deflate.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 607219, Fri Dec 28 12:03:20 2007 UTC revision 726791, Mon Dec 15 20:22:07 2008 UTC
# Line 584  static apr_status_t deflate_out_filter(a Line 584  static apr_status_t deflate_out_filter(a
584          else {          else {
585              apr_table_mergen(r->headers_out, "Content-Encoding", "gzip");              apr_table_mergen(r->headers_out, "Content-Encoding", "gzip");
586          }          }
587            /* Fix r->content_encoding if it was set before */
588            if (r->content_encoding) {
589                r->content_encoding = apr_table_get(r->headers_out,
590                                                    "Content-Encoding");
591            }
592          apr_table_unset(r->headers_out, "Content-Length");          apr_table_unset(r->headers_out, "Content-Length");
593          apr_table_unset(r->headers_out, "Content-MD5");          apr_table_unset(r->headers_out, "Content-MD5");
594          deflate_check_etag(r, "gzip");          deflate_check_etag(r, "gzip");

Legend:
Removed from v.607219  
changed lines
  Added in v.726791

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2