@simon I love accept headers, they get you the most suitable response the client can process. If you want to spoof them, you can easily do that using a proxy?
Top-level
4 comments
@helge I get the theory, but in twenty years of mucking around on the Web I've never actually seen real concrete benefit from APIs that do that - I've just found it frustrating |
@helge the only place I like them is for media files (audio, video, image) where you might want to serve back e.g. a smaller .webp file but only to browsers that support it
For APIs they drive me up the wall, because I'm often doing API research from devices (like my phone) that don't have a convenient terminal to hand