3 ms·
Agreed, it should have received much more testing. However, in this case it being in the HTTP/2 standard is moot, since it's just a (premature) optimization an
by gunapologist99 4y ago
Agreed, it should have received much more testing.
However, in this case it being in the HTTP/2 standard is moot, since it's just a (premature) optimization and thus its removal results in a reasonable fallback, which is simply not using that particular optimization, and also because HTTP/3 is so far along already.
Not to get too tangential, but this seems similar to fetch removing support for reponse bodies for POST/PUT requests; a login POST, for example, might return information about the user's login or the state of the server, or even a per-tab/per-page token that isn't a cookie header, but fetch simply refuses to support it (even though XMLHttpRequest still does). Fetch removing this means that additional round-trips are needed, even over a multiplexed connection, and certain app designs are simply not possible. The solution seems to be to buck the trend and just use XHR instead of fetch, especially since fetch doesn't seem to be available on older Android Chrome (possibly 5-15% marketshare even now.)
- Thiez 4y ago> this seems similar to fetch removing support for reponse bodies for POST/PUT requests Wait what? I have never heard of that, do you have a link where this removal is documented?
- hobobaggins 4y agoMaybe referring to GET, not POST/PUT bodies? https://github.com/whatwg/fetch/issues/83 https://github.com/whatwg/fetch/issues/83 Seems pretty short-sighted of a decision there, since XMLHTTPReq does it just fine, and it is in the HTTP RFC's
- chrsig 4y ago> it's just a (premature) optimization and thus its removal results in a reasonable fallback, which is simply not using that particular optimization this is a salient point. if it's just an optimization and not implementing it (or removal) doesn't change behavior of sites that have adopted it, then it's benign.