minor performance optimization concerning location
Open
- Dominant language
- Python
- Stars
- 404
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
It's probably not going to matter all that much in practice, but I notice that in client.py line 450 (get_response) the location is taken from the headers unconditionally, whereas it is only needed if follow_redirect is True, so could move into the 'if' block.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.