Skip to content

Commit

Permalink
Add simple optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jul 16, 2016
1 parent 2cb70cc commit 054a0f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aiohttp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ def _request(self, method, url, *,

redirects = 0
history = []
if not isinstance(method, upstr):
method = upstr(method)
method = upstr(method)

# Merge with default headers and transform to CIMultiDict
headers = self._prepare_headers(headers)
Expand Down

0 comments on commit 054a0f6

Please sign in to comment.