Skip to content

Client add accept language header#1781

Merged
ThomasNickerson merged 3 commits into
masterfrom
client-add-accept-language-header
Mar 8, 2021
Merged

Client add accept language header#1781
ThomasNickerson merged 3 commits into
masterfrom
client-add-accept-language-header

Conversation

@ThomasNickerson

Copy link
Copy Markdown
Contributor

This PR adds the ability to request French content from Tracker when creating a Client like so: my_client = Client(language='fr'). This sets the accept-language header included with all requests. The header is set to en by default.

@ThomasNickerson ThomasNickerson merged commit e7b4c8c into master Mar 8, 2021
@ThomasNickerson ThomasNickerson deleted the client-add-accept-language-header branch March 8, 2021 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants