On 12/03/2012 7:32 p.m., Федотов А.А. wrote:
Hi folks,
We get the following problem with Squid configuration. Short GET or POST requests do not 
pass proxy,  the proxy returns customized "invalid request" error message

GET / HTTP/1.0\r\n
Host: yandex.ru\r\n
Proxy-Authorization: Basic ***\r\n
\r\n

The following works:


GET http://yandex.ru/ HTTP/1.0\r\n
Host: yandex.ru\r\n
Proxy-Authorization: Basic ***\r\n
\r\n

Where to start digging? Thank you in advance!

With the difference between client->proxy and client->server HTTP formats...

"http://yandex.ru/"; is an absolute-URL. For requests handled by HTTP proxies.

"/" is a URL-path. For requests handled by origin servers and their surrogates (reverse-proxy). For example, is that a part of an http://, https://, ftp://, gopher://, or some other URI format? only the origin server or its dedicated surrogate (reverse-proxy) can know that.

Amos

Reply via email to