TLDR Web Dev · QUICK LINKS

WHY I TEND NOT TO USE CONTENT NEGOTIATION

htmx.org6 min read

Summary from the TLDR Web Dev newsletter

Content negotiation is a feature of HTTP that allows a client to negotiate the content type of the response from a server. It is typically not the right approach to returning both JSON and HTML for most applications.