2009-04-17
2009-04-17 13:44:22 by Martin Jonsson <marty@roxen.com>
-
e0bafe700fb6e640593d835d8e9ab86efc3dd601
(7 lines)
(+4/-3)
[
Show
| Annotate
]
Branch: 5.2
HTTP compression: Register lower case "accept-encoding" Vary header value instead of "Accept-Encoding" to be consistent with Roxen's general practice.
Rev: server/protocols/http.pike:1.596
2:
// Modified by Francesco Chemolli to add throttling capabilities.
// Copyright © 1996 - 2004, Roxen IS.
- constant cvs_version = "$Id: http.pike,v 1.595 2009/04/17 07:53:37 marty Exp $";
+ constant cvs_version = "$Id: http.pike,v 1.596 2009/04/17 13:44:22 marty Exp $";
// #define REQUEST_DEBUG
#define MAGIC_ERROR
2268: Inside #if defined(HTTP_COMPRESSION)
// but we don't want to register it as a vary callback since it's
// handled directly by the protocol cache.
if(!misc->vary)
- misc->vary = (< "Accept-Encoding" >);
+ misc->vary = (< "accept-encoding" >);
else
- misc->vary["Accept-Encoding"] = 1;
+ misc->vary["accept-encoding"] = 1;
}
#endif