Skip to content

minor performance optimization concerning location #136

@faassen

Description

@faassen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions