Via

Gena Makhomed gmm at csdoc.com
Sun Feb 8 17:33:27 MSK 2009


On Sunday, February 8, 2009 at 15:00:29, Roxis wrote:

R> А ведь таких недоразумений было бы меньше,
R> если бы nginx отправлял заголовок Via.

R> rfc2616 14.45 Via
R> The Via general-header field MUST be used by gateways and proxies ...

добавлять Via - это требование для http proxy, таких как squid и т.п.
- которые находятся в пути "between the origin server and the client".
а nginx в данном случае является "software used by the origin server".

14.38 Server

   The Server response-header field contains information about the
   software used by the origin server to handle the request. 

   If the response is being forwarded through a proxy, the proxy
   application MUST NOT modify the Server response-header. Instead, it
   SHOULD include a Via field (as described in section 14.45).

-- 
Best regards,
 Gena






More information about the nginx-ru mailing list