ckolderup / postmarks

a single-user bookmarking website designed to live on the Fediverse
https://postmarks.glitch.me
MIT License
464 stars 38 forks source link

Changes to make WebFinger RFC-conformant #193

Open steve-bate opened 4 months ago

steve-bate commented 4 months ago

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.