Show More
@@ -71,10 +71,14 b' substitutions = [' | |||
|
71 | 71 | # (replacement patterns) |
|
72 | 72 | br'$USUAL_BUNDLE2_CAPS_SERVER$' |
|
73 | 73 | ), |
|
74 | # HTTP log dates | |
|
74 | # HTTP access log dates | |
|
75 | 75 | (br' - - \[\d\d/.../2\d\d\d \d\d:\d\d:\d\d] "(GET|PUT|POST)', |
|
76 | 76 | lambda m: br' - - [$LOGDATE$] "' + m.group(1) |
|
77 | 77 | ), |
|
78 | # HTTP error log dates | |
|
79 | (br' - - \[\d\d/.../2\d\d\d \d\d:\d\d:\d\d] (HG error:|Exception)', | |
|
80 | lambda m: br' - - [$ERRDATE$] ' + m.group(1) | |
|
81 | ), | |
|
78 | 82 | # HTTP header dates- RFC 1123 |
|
79 | 83 | (br'([Dd]ate): [A-Za-z]{3}, \d\d [A-Za-z]{3} \d{4} \d\d:\d\d:\d\d GMT', |
|
80 | 84 | lambda m: br'%s: $HTTP_DATE$' % m.group(1) |
General Comments 0
You need to be logged in to leave comments.
Login now