Commit 72dab44a authored by Vincent Pelletier's avatar Vincent Pelletier

update TODOs

parent 7aa6d72c
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
# - implement an alternative to matplotlib (inline SVG ?) to have nice output # - implement an alternative to matplotlib (inline SVG ?) to have nice output
# with pypy # with pypy
# - provide some form of raw data output, not just html # - provide some form of raw data output, not just html
# - allow user to specify min & max dates
from cgi import escape from cgi import escape
from collections import defaultdict from collections import defaultdict
from datetime import datetime, tzinfo, timedelta from datetime import datetime, tzinfo, timedelta
...@@ -308,6 +309,7 @@ logformat_dict = { ...@@ -308,6 +309,7 @@ logformat_dict = {
'%{User-Agent}i': r'(?P<agent>[^"]*)', # XXX: expected to be enclosed in " '%{User-Agent}i': r'(?P<agent>[^"]*)', # XXX: expected to be enclosed in "
'%D': r'(?P<duration>[0-9]*)', '%D': r'(?P<duration>[0-9]*)',
'%%': r'%', '%%': r'%',
# TODO: add more formats
} }
REQUEST_PATTERN = re.compile('(?P<method>[^ ]*) (?P<url>[^ ]*)' REQUEST_PATTERN = re.compile('(?P<method>[^ ]*) (?P<url>[^ ]*)'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment