Bug #897 ยป apache2-2.2.16-rgw-1.patch
apache2-2.2.16/modules/http/http_filters.c 2011-03-18 15:49:43.651898321 -0700 | ||
---|---|---|
if (r->header_only
|
||
&& (clheader = apr_table_get(r->headers_out, "Content-Length"))
|
||
&& !strcmp(clheader, "0")) {
|
||
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
|
||
"not unsetting Content-Length on HEAD response (rgw changes)\n");
|
||
#if 0
|
||
apr_table_unset(r->headers_out, "Content-Length");
|
||
#endif
|
||
}
|
||
b2 = apr_brigade_create(r->pool, c->bucket_alloc);
|