2 ms·
> HTTP never had any standardized way to communicate feature sets Except for the "Accept", "Accept-Language", "Accept-Encoding" and "Accept-Charset" headers (t
by wongarsu 5y ago
> HTTP never had any standardized way to communicate feature sets
Except for the "Accept", "Accept-Language", "Accept-Encoding" and "Accept-Charset" headers (the last is phased out because UTF-8 is now used universally).
I don't think extending it much further than that is reasonable without introducing some binary encoding for a giant bitmap, and even that would eat more bandwidth than it's worth.
- lupire 5y agoThe alternative is shipping a packet of sketchy JS, which is much more bandwidth.
- mike_hearn 5y agoIt doesn't have to be giant. If HTML5 were actually versioned then you could just roll extensions into the base standard every few years. In practice people do that anyway in an ad-hoc manner. After a while enough browsers have implemented something for long enough that people stop feature testing.