Skip to content

Link header examples are not correct to RFC-5988 #623

Closed
@sazzer

Description

@sazzer

The examples currently in draft-handrews-json-schema-hyperschema-01 are technically wrong as compared to RFC-5988.

The example in Section 9.1 shows a Link header of:

   Link: <https://schema.example.com/entry> rel=describedBy

Per RFC-5988, the link params should be semi-colon separated and their values should be quoted. Thus that should be:

   Link: <https://schema.example.com/entry>;rel="describedBy"

Additionally, there is the link param "type" to give a hint as to the media type of the link target. Using that would make the result:

Link: <https://schema.example.com/entry>;rel="describedBy";type="application/schema-instance+json"

Metadata

Metadata

Assignees

No one assigned

    Labels

    clarificationItems that need to be clarified in the specification

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions