Open Bug 1519080 Opened 6 years ago Updated 2 years ago

[BinAST] Version accept header

Categories

(Core :: DOM: Core & HTML, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: Yoric, Unassigned)

References

Details

We'll be experimenting with several successive formats for BinAST.

We should version the header.

Priority: -- → P2
Component: DOM → DOM: Core & HTML

So, as discussed with @RReverser and @arai on another channel, we could use

  • Content-Type=application/javascript-binast (current version – for backwards compatibility, that's the multipart encoding)
  • Content-Type=application/javascript-binast;encoding=x-multipart (experimental, multipart)
  • Content-Type=application/javascript-binast;encoding=context-0.1 (experimental, context 0.1)
  • etc.

and use Content-Encoding=br (or other).

Not sure if we can somehow register every content type that starts with application/javascript-binast.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.