qlog icon indicating copy to clipboard operation
qlog copied to clipboard

What is the media-type?

Open kazuho opened this issue 3 years ago • 2 comments

What is the media-type of the qlog files?

kazuho avatar Jun 22 '21 13:06 kazuho

This is currently not yet defined...

At first instinct, I'd say application/qlog+json, but I'm not sure how we'd indicate the difference between normal JSON and newline-delimited JSON (if we even decide to keep that). Maybe application/qlog+ndjson and then something like application/qlog+cbor down the line?

Not sure how easy/difficult that would be to deal with for qlog tooling / how media-type parsers typically deal with this type of thing.

rmarx avatar Jun 22 '21 13:06 rmarx

Thank you for the response.

For context, the reason I asked is because h2o has a well-known URI for serving traces, see https://mailarchive.ietf.org/arch/msg/quic/VHyaEIHxYylfg5NAKBxccycqnvc/.

At the moment, we use a custom ndjson format, but if we are to use qlog, there has to be a media-type.

kazuho avatar Aug 13 '21 06:08 kazuho

Fixed as far as I can tell, closing.

LPardue avatar Sep 08 '22 01:09 LPardue