[PATCH] hgweb: add remoteuser to template variables
FZiegler
zarf at klacto.net
Fri Sep 17 15:59:45 CDT 2010
Laurens wrote:
> *If* the value of REMOTE_USER is based on HTTP Authentication, Vary:
> Authorization might work. Although I think for Digest authentication
> this might mean that no response will be cached, not sure.
Just to be definite here: in my app, REMOTE_USER is not set by HTTP
authentication (unless the client is mercurial itself, not a browser).
Neither is it in mpm's scenario, I believe. Otherwise, based on what you
say next, I gather he wouldn't expect proxies to cache even now:
> Note that unless certain specific conditions are fulfilled, shared
> caches (like caching proxies) will not cache HTTP-authenticated pages.
Francois
More information about the Mercurial-devel
mailing list