Skip to content

Allow optional version parameter in media-type #642

@ryanmoran

Description

@ryanmoran

The current media-type definition specifies that there are no optional parameters. This makes hinting the specification versions supported by an API difficult. Instead of being able to specify a precise spec version in an Accept header, we'd need to provide documentation elsewhere.

It would be great if the IANA media-type specification could be updated to allow for an optional version field that would correspond to the SPDX spec version. For example, application/spdx+json;version=2.2.

There are other SBOM format types that already support this type of parameter:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions