Skip to content

Set Accept header in dynamic counter requests#594

Merged
bobcallaway merged 1 commit intosigstore:mainfrom
imjasonh:accept-json
Jan 10, 2022
Merged

Set Accept header in dynamic counter requests#594
bobcallaway merged 1 commit intosigstore:mainfrom
imjasonh:accept-json

Conversation

@imjasonh
Copy link
Member

Ref: #593

Without this header, sometimes the response will come back as YAML and .json() will fail to decode it, resulting in a bad experience.

Signed-off-by: Jason Hall <jasonhall@redhat.com>
@bobcallaway bobcallaway merged commit 91ff490 into sigstore:main Jan 10, 2022
@github-actions github-actions bot added this to the v1.0.0 milestone Jan 10, 2022
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.

2 participants