Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

cmd/tier: set Accept to application/json on push #216

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Conversation

bmizerany
Copy link
Contributor

This sets the accept header to application/json to hint to servers
capable of responding in many format, to only respond to us with JSON.

This will also follow redirects.

This sets the accept header to application/json to hint to servers
capable of responding in many format, to only respond to us with JSON.

This will also follow redirects.
@bmizerany bmizerany marked this pull request as ready for review January 12, 2023 00:18
@bmizerany bmizerany merged commit 0896352 into main Jan 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant