I-D icon indicating copy to clipboard operation
I-D copied to clipboard

content-type with "+ convention"

Open RubenVerborgh opened this issue 9 years ago • 5 comments

I would have expected application/home+json in line with the "+ convention".

RubenVerborgh avatar Apr 11 '16 08:04 RubenVerborgh

That would also be more in line with RFC 7807's application/problem+json.

asbjornu avatar Apr 11 '16 11:04 asbjornu

Yes. I've intentionally not registered the media type because I want the flexibility to change the format when it's more baked.

mnot avatar May 03 '16 06:05 mnot

as one additional data point: https://tools.ietf.org/html/draft-wilde-home-xml-03#section-4.1 defines application/problem+xml assuming that the structured syntax suffix is a useful pattern to follow.

dret avatar Oct 10 '17 13:10 dret

Seems like it's time to turn this convention into an officially meaningful thing.

RubenVerborgh avatar Oct 10 '17 13:10 RubenVerborgh

@RubenVerborgh: it is an RFC (https://tools.ietf.org/html/rfc6838), but media types are free to follow or ignore this pattern.

dret avatar Oct 10 '17 13:10 dret