Skip to content

Commit

Permalink
Merge pull request #9 from Seravo/fix/dash_in_request_type
Browse files Browse the repository at this point in the history
Modify request type to accept '-' character
  • Loading branch information
Wiljami authored Jul 29, 2024
2 parents e2a7626 + 262a44c commit c28e025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion milliseconds.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get_top_10(result_type, result_type_dict):
r'(?P<remote_user>[^\[]+) '
r'\[(?P<time>.+)\] '
# Clients can name their methods whatever, e.g. CCM_POST
r'"(?P<request_type>[A-Z_]+) '
r'"(?P<request_type>[A-Z_-]+) '
r'(?P<request_url>[^"]+) '
r'(?P<protocol>[^ ]+)" '
r'(?P<status>[0-9]+) '
Expand Down

0 comments on commit c28e025

Please sign in to comment.