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

Default content-type on verification responses #190

Open
fluffy-critter opened this issue Nov 15, 2019 · 0 comments
Open

Default content-type on verification responses #190

fluffy-critter opened this issue Nov 15, 2019 · 0 comments

Comments

@fluffy-critter
Copy link

As implemented, the verification response handler uses content-type of application/x-www-form-urlencoded if there's no Accept: header provided (or the Accept: header doesn't specify a supported content-type); however the IndieAuth spec only states that the verification response should be a JSON object. So it seems that the default content-type in the response should be application/json.

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

No branches or pull requests

1 participant