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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.