Re: [squid-users] One instance as both, proxy and reverse proxy

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Thu, 25 Feb 2010 20:47:09 +0100

tor 2010-02-25 klockan 16:40 +0100 skrev Bastian Spanneberg:

> should be possible to distinguish requests, as web server/accelerator
> requests should only be like
>
> GET /...
>
> and the proxy requests contain a complete URL.

Partially true. But then RFC2616 also says this:

   To allow for transition to absoluteURIs in all requests in future
   versions of HTTP, all HTTP/1.1 servers MUST accept the absoluteURI
   form in requests, even though HTTP/1.1 clients will only generate
   them in requests to proxies.

Which means that in future we may see absoluteURI requests sent to web
servers not only proxies, and as part of the strive to comply with
HTTP/1.1 the reverse proxy mode of Squid accepts absoluteURI as well as
the simpler form.

Regards
Henrik
Received on Thu Feb 25 2010 - 19:47:17 MST

This archive was generated by hypermail 2.2.0 : Fri Feb 26 2010 - 12:00:11 MST