Skip to content

Commit 37f44fb

Browse files
committed
Remove the _HEADER_NAME_FORBIDDEN constant
1 parent 68b61e6 commit 37f44fb

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/google/adk/tools/mcp_tool/_internal.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848

4949
logger = logging.getLogger("google_adk." + __name__)
5050

51-
# RFC 7230 compliant header patterns
52-
# Control characters and special characters not allowed in header names
53-
_HEADER_NAME_FORBIDDEN = r'\x00-\x1F\x7F()<>@,;:\\"/[\]?={} \t'
54-
5551
# Header whitespace characters (RFC 7230 §3.2.4)
5652
_HEADER_WHITESPACE = "\r\n"
5753

0 commit comments

Comments
 (0)