From d0bc5e7c4ac606ec45f3684d100c6684c1514aa2 Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 31 Jul 2025 02:06:56 +0800 Subject: [PATCH] Extend path filter to also cover POST requests --- lightrag/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/utils.py b/lightrag/utils.py index 1525b6a4..b809de0c 100644 --- a/lightrag/utils.py +++ b/lightrag/utils.py @@ -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 ):