igrigorik / http-client-hints

402 stars 24 forks source link

value syntax #29

Closed mnot closed 10 years ago

mnot commented 10 years ago

Rather than defining Yet Another Syntax for header field values, how about: http://tools.ietf.org/html/draft-reschke-http-jfv-00

igrigorik commented 10 years ago

Now that we've split the single CH header into multiple, the syntax is...

DPR: 2.0
RW: 160

Doesn't get much simpler. Don't think we need to complicate things any further? Also, as an aside, while JSON is cool, what happened to saving bytes in headers? That proposal adds a lot of those.

mnot commented 10 years ago

Julian's syntax allows simple numeric values; see the example in 6.1. That said, Julian's draft is still a thought experiment, so I wouldn't block on it; closing.