42 ms·
The wrongest is when it's stuck in an irrelevant header, as in Accept: application/json;v=3 I'm sure that's specified somewhere, but it's a shamefully stupid s
by ben509 5y ago
The wrongest is when it's stuck in an irrelevant header, as in Accept: application/json;v=3
I'm sure that's specified somewhere, but it's a shamefully stupid specification, so don't follow it. Any sane person reading that is going to think you're accepting a specific version of JSON.
Also, if you must put versions be in a header, STOP with the nonsense of pretending things don't exist. Give us some freaking clue, return a 404 and explain that we're missing your stupid header, or that the planets haven't aligned, or whatever we're supposed to fix.