Submitter | phabricator |
---|---|
Date | Oct. 8, 2017, 8:38 a.m. |
Message ID | <d24e18af5f291f69be13ed0fd4084220@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/24637/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/common.py b/mercurial/hgweb/common.py --- a/mercurial/hgweb/common.py +++ b/mercurial/hgweb/common.py @@ -208,7 +208,7 @@ encoding.environ.get("EMAIL") or "") def caching(web, req): - tag = 'W/"%s"' % web.mtime + tag = r'W/"%d"' % web.mtime if req.env.get('HTTP_IF_NONE_MATCH') == tag: raise ErrorResponse(HTTP_NOT_MODIFIED) req.headers.append(('ETag', tag))