Opened 10 years ago
Last modified 10 years ago
#945 closed defect
Host metadata does not confirm to spec (/.well-known/meta-data) — at Initial Version
Reported by: | Jessica Tallon | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | programming | Keywords: | federation, pump.io, well-known, host meta, rfc6415, waiting-upstream |
Cc: | Parent Tickets: |
Description
The /.well-known/host-meta endpoint is providing JSON when it should by default provide XML. According to the spec XML should be the default and JSON and lrdd should be given if requested.
This seems to be a problem with upstream pump.io as they only provide JOSN and not XML or lrdd. As we're providing a upstream compatible interface this should be decided upstream and we will implement whatever is decided upstream.
The specific part of rfc6415 which deals with Host Meta is under section 2:
The host-meta document SHOULD be served with the
"application/xrd+xml" media type.
The JSON/JRD should be provided at /.well-known/host-meta.json (as per 6.2).
Upstream bug is: https://github.com/e14n/pump.io/issues/1048