benoitc / benoitc/restkit

minor performance optimization concerning location

Open
#136 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.