Skip to content

Commit

Permalink
Fix type checking breakage (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
florimondmanca authored Mar 15, 2020
1 parent a82adcc commit 43ec09c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions httpx/_content_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ def render_headers(self) -> bytes:
return b"".join(parts)

def render_data(self) -> bytes:
content: typing.Union[str, bytes]
if isinstance(self.file, str):
content = self.file
else:
Expand Down

0 comments on commit 43ec09c

Please sign in to comment.