flancy
flancy copied to clipboard
content-type
Is it possible to set content-type on response?
I tried
$Response.ContentType = "application/json" or $Response.Headers["content-type"] = "application/json"
thanks
here is my version of flancy.psm1 that support custom content-type defined by the route map... if nothing is specified for a particular path the default text/html is implemented...