We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c59955e commit 49f902fCopy full SHA for 49f902f
aiohttp/client_reqrep.py
@@ -755,9 +755,7 @@ def _get_content_length(self) -> int | None:
755
756
content_length_hdr = self.headers[hdrs.CONTENT_LENGTH]
757
if not _DIGITS_RE.fullmatch(content_length_hdr):
758
- raise ValueError(
759
- f"Invalid Content-Length header: {content_length_hdr!r}"
760
- )
+ raise ValueError(f"Invalid Content-Length header: {content_length_hdr!r}")
761
return int(content_length_hdr)
762
763
@property
0 commit comments