Skip to content

Commit

Permalink
Stop typecheck from complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Dec 13, 2023
1 parent f0f25a2 commit 2ab8abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httplint/cli/http_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def input_start(
hdr_tuples: RawFieldListType,
conn_tokens: List[bytes],
transfer_codes: List[bytes],
content_length: int,
content_length: Optional[int],
) -> Tuple[bool, bool]:
if self.mode == modes.REQUEST:
self.linter = HttpRequestLinter(start_time=self.start_time)
Expand Down

0 comments on commit 2ab8abe

Please sign in to comment.