Changeset 1503 for trunk/pylucid/PyLucid/middlewares/pagestats.py
- Timestamp:
- 03/25/08 09:24:47 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pylucid/PyLucid/middlewares/pagestats.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/middlewares/pagestats.py
r1481 r1503 67 67 68 68 # Put only the statistic into HTML pages 69 if response._headers.get('content-type', None) == "text/html":69 if not "html" in response._headers["content-type"][1]: 70 70 # No HTML Page -> do nothing 71 71 return response