Opened 10 years ago
Last modified 10 years ago
#945 closed defect
Host metadata does not confirm to spec (/.well-known/meta-data) — at Version 2
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 (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
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Description: | modified (diff) |
---|---|
Keywords: | waiting-upstream added |
Status: | new → accepted |
Note, section 3 allows for the json document on the host-meta (not .json) endpoint, if explicitly asked by the client: