Skip to content

Support multiple Link headers during discovery #32

@longears

Description

@longears

Python's requests library only gives us the last one when more than one is specified. We can fix that by parsing the Link header ourselves by grabbing it from r.headers['Link'] and splitting it into separate items. This would happen in TentApp._discoverAPIUrls().

Once we have more than one Link header we'll need a loop to try them one at a time until one succeeds.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions