-
Notifications
You must be signed in to change notification settings - Fork 13
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 to application/x-www-form-urlencoded on verification #12
Comments
if it claims to accept |
Yeah sounds like Telegraph needs to send a better |
Is there a preferred default though, @aaronpk? For those that do Although in the case of the latter, we should probably just error with |
indieauth/client supports JSON responses since version 0.2.0. Versions before that relied on That might be a reason for us to default to form encoding and only send JSON when requested. |
Going to close this issue. As per indieweb/indieauth#18 (comment) the specification is more than likely to stop allowing form encoded responses completely. |
I ran into this when testing against Telegraph. It sends an Accept header with
*/*
but does not accept the JSON response (it seems).Should we just default to
application/x-www-form-urlencoded
on the auth code verification step unless the Accept header specifiesapplication/json
?The text was updated successfully, but these errors were encountered: