Closed YoucTagh closed 9 months ago
In the document, the media type is sometimes text/xml and sometimes application/xml.
text/xml
application/xml
Both media types are correct, but in examples 19 and 20, there is a mismatch between the URI and the Link header parameters, for instance:
Link
... <http://example.org/resource/a?view=profile-y&format=text/xml>; rel="alternate"; type="application/xml"; formats="http://otherexample.org/profile/y" ...
convert all text/xml to application/xml,
review implementations to make sure they are consistent between request and response at least, and preferable use application/xml.
In the document, the media type is sometimes
text/xml
and sometimesapplication/xml
.Both media types are correct, but in examples 19 and 20, there is a mismatch between the URI and the
Link
header parameters, for instance: