Skip to content

Commit

Permalink
check optional params (aio-libs#2304)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Prenner committed Jan 24, 2022
1 parent d882ed3 commit bcf43c1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions aiohttp/client.py
Expand Up @@ -423,6 +423,15 @@ async def _request(
if read_bufsize is None:
read_bufsize = self._read_bufsize

if max_line_size is None:
max_line_size = self._max_line_size

if max_headers is None:
max_headers = self._max_headers

if max_field_size is None:
max_field_size = self._max_field_size

traces = [
Trace(
self,
Expand Down

0 comments on commit bcf43c1

Please sign in to comment.