Skip to content

Commit 2325318

Browse files
committed
Fix: typo and indentation inconsistency
1 parent 614ee0a commit 2325318

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/a2a/server/apps/jsonrpc/jsonrpc_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ async def _handle_requests(self, request: Request) -> Response: # noqa: PLR0911
295295
request_id, str | int
296296
):
297297
request_id = None
298-
# If content lenght check is not disabled,
298+
# If content length check is not disabled,
299299
# treat very large payloads as invalid request (-32600) before routing
300300
if not self._disable_content_length_check:
301301
with contextlib.suppress(Exception):

src/a2a/server/apps/jsonrpc/starlette_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__( # noqa: PLR0913
7878
the extended agent card before it is served. It receives the
7979
call context.
8080
disable_content_length_check: An optional, if True disables the check
81-
for oversized payloads.
81+
for oversized payloads.
8282
"""
8383
if not _package_starlette_installed:
8484
raise ImportError(

0 commit comments

Comments
 (0)