#
-# $Id: cf.data.pre,v 1.290 2002/10/13 20:34:59 robertc Exp $
+# $Id: cf.data.pre,v 1.291 2002/11/15 13:12:36 hno Exp $
#
#
# SQUID Web Proxy Cache http://www.squid-cache.org/
You can add up to 20 additional "extension" methods here.
DOC_END
+NAME: request_entities
+TYPE: onoff
+LOC: Config.onoff.request_entities
+DEFAULT: off
+DOC_START
+ Squid defaults to deny GET and HEAD requests with request entities,
+ as the meaning of such requests are undefined in the HTTP standard
+ even if not explicitly forbidden.
+
+ Set this directive to on if you have clients which insists
+ on sending request entities in GET or HEAD requests.
+DOC_END
+
NAME: high_response_time_warning
TYPE: int
COMMENT: (msec)
/*
- * $Id: client_side.cc,v 1.607 2002/11/10 04:23:08 hno Exp $
+ * $Id: client_side.cc,v 1.608 2002/11/15 13:12:36 hno Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
case METHOD_GET:
case METHOD_HEAD:
/* We do not want to see a request entity on GET/HEAD requests */
- return (r->content_length <= 0);
+ return (r->content_length <= 0 || Config.onoff.request_entities);
default:
/* For other types of requests we don't care */
return 1;
/*
- * $Id: structs.h,v 1.437 2002/10/25 07:37:00 robertc Exp $
+ * $Id: structs.h,v 1.438 2002/11/15 13:12:36 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
int ie_refresh;
int vary_ignore_expire;
int pipeline_prefetch;
+ int request_entities;
int check_hostnames;
int via;
int emailErrData;