Email or username:

Password:

Forgot your password?
Top-level
Helge Heß

@simon I think it is useful to have resource variants that are also addressable by URL, like /calendar/x/1.ics vs /calendar/x/1.html or /calendar/x/1.json. But that you can have /calendar/x/1 and have that resource serving the proper thing via Accept, is an HTTP superpower to me.

2 comments
Simon Willison

@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 Heß

@simon Fair, I don't think I ever really relied on content negotiation either 🙈 My opinion is that a good setup should support both, accept and extension based type lookup.

Go Up