Host metadata does not confirm to spec (/.well-known/meta-data)
|Reported by:||Jessica Tallon||Owned by:|
|Component:||programming||Keywords:||federation, pump.io, well-known, host meta, rfc6415, waiting-upstream|
Description (last modified by )
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. 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