This proposal adds the ability to specify an optional list of custom content headers (Content-Type:text/html; charset=utf-8 is assumed by default) and an optional status code to better support HTMX.
These need to be separate overloads, not changes on the original functions to avoid breaking existing code.
This proposal adds the ability to specify an optional list of custom content headers (
Content-Type:text/html; charset=utf-8
is assumed by default) and an optional status code to better support HTMX.These need to be separate overloads, not changes on the original functions to avoid breaking existing code.