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

Changes to make WebFinger RFC-conformant #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

steve-bate
Copy link
Contributor

  • Use application/jrd+json content type for JRD responses.
  • Verify resource matches Postmarks account.
  • Use 404 status for unsupported resource URI scheme.

WebFinger uses 400 for malformed requests (where the URI syntax is invalid, the resource parameter is missing, or the URI query parameters are otherwise not conformant to the RFC). An unsupported resource URI scheme in a syntactically-valid URI isn't malformed. However, 404 makes sense given the resource is not known to the server.

* Use `application/jrd+json` content type for JRD responses.
* Verify resource matches Postmarks account.
* Use 404 status for unsupported resource URI scheme.
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.

None yet

1 participant