AnnotationAPI: backend returns 405 on several resources
-
Annotation Collections provide invalid URLs (w/o required page path parameter) -
Missing /
in URL to AnnotationCollection -
Set content type on HTML response to something including text
. Everything else will be parsed tonull
. See: https://github.com/subugoe/tido/blob/94f1467f2a6efe86f39d715ede034fbf8ce1cdf2/src/utils/http.js#L10
while the investigations on this issue showed some problems in the resulting references, the root cause for annotations not to show up is a condition in Tido parsing HTTP responses Content-Type
header for something including text
. This should be discussed, since all text/xml
and related mime types are just aliases for their actual definitions at the application
mime type top level. arguing form the xml point of view the better option is the application
prefix.
Edited by Mathias Goebel