Name

extension_methods

Synopsis

HTTP (RFC 2616) allows clients and servers to use their own extension methods. If requests with nonstandard HTTP methods go through Squid, the client receives an “Invalid Request” error message. Squid also writes a cache.log entry, such as this:

2003/09/29 13:40:24| parseHttpRequest: Unsupported method 'XGET'

If you want Squid to accept such requests, you must tell it about the nonstandard methods by listing them after the extension_methods directive.

Syntax

extension_methods HTTP-method ...

Default

No default

Example

extension_methods XGET XPOST

Get Squid: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.