Hacker News new | past | comments | ask | show | jobs | submit login

Content negotiation is surely a fire composed of tires but there are sadly many scenarios where it is necessary. Deciding whether to redirect for example is often context sensitive.

In other words content negotiation is useful to be able to respond intelligibly. If a client asks you for json but not html, it might not make sense to return html.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: