Extend path filter to also cover POST requests
This commit is contained in:
parent
5282312c64
commit
d0bc5e7c4a
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ class LightragPathFilter(logging.Filter):
|
|||
|
||||
# Filter out successful GET requests to filtered paths
|
||||
if (
|
||||
method == "GET"
|
||||
method == "GET" or method == "POST"
|
||||
and (status == 200 or status == 304)
|
||||
and path in self.filtered_paths
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue