Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/hgweb/server.py @ 2600:c4325f0a9b91
clean up trailing white space.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Wed, 12 Jul 2006 08:28:00 -0700 |
parents | 276de216d2c5 |
children | 56e98084e040 |
line wrap: on
line diff
--- a/mercurial/hgweb/server.py +++ b/mercurial/hgweb/server.py @@ -129,7 +129,7 @@ class _hgwebhandler(object, BaseHTTPServ self.length = int(h[1]) # The value of the Connection header is a list of case-insensitive # tokens separated by commas and optional whitespace. - if 'close' in [token.strip().lower() for token in + if 'close' in [token.strip().lower() for token in self.headers.get('connection', '').split(',')]: should_close = True if should_close: