Returns the content type header for the route, based on the route's URL path. Routes that terminate in / or have no extension are assumed to be HTML. All other routes are automatically determined using the mime-types module.
/
mime-types
Generated using TypeDoc
Returns the content type header for the route, based on the route's URL path. Routes that terminate in
/
or have no extension are assumed to be HTML. All other routes are automatically determined using themime-types
module.