Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add accept header for the checks API #968

Merged
merged 2 commits into from
Feb 8, 2021
Merged

Add accept header for the checks API #968

merged 2 commits into from
Feb 8, 2021

Conversation

ramonacat
Copy link
Contributor

Fixes #967.

This PR adds the Accept header back for the Checks API. This is required to make this work on GitHub Enterprise 2.22 (the latest stable version), which still considers this API a preview.

@acrobat
Copy link
Collaborator

acrobat commented Feb 7, 2021

@Agares thanks for the PR! Can you change the way the header is set to the "old" way we did this? This will add the header always so there is no need from the end user to call an extra method before using this api endpoint. It will also make it easier to remove the header without BC breaking issues.

See the previous PR #924 how to code was before

@ramonacat
Copy link
Contributor Author

done!

@acrobat acrobat merged commit 79a0993 into KnpLabs:master Feb 8, 2021
@acrobat
Copy link
Collaborator

acrobat commented Feb 8, 2021

Thanks @Agares! And congrats on your first contribution! 🎉

@ramonacat
Copy link
Contributor Author

Thanks for merging 🎉 When will a version containing this change be released?

@acrobat
Copy link
Collaborator

acrobat commented Feb 13, 2021

I'm going to check other open PR's in the coming days and release a new version!

@acrobat
Copy link
Collaborator

acrobat commented Mar 11, 2021

@Agares 3.1.0 was released!

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.

Accept header missing for the chceks API in 2.16.0 and newer
2 participants