Function: unauthorizedHttpResponse()
Function: unauthorizedHttpResponse()
function unauthorizedHttpResponse(content, headers): OutgoingHttpResponse;
Create a 401(Unauthorized) OutgoingHttpResponse.
Parameters
content
unknown
The content of the response.
headers
HeadersType
= {}
The headers for the response.
Returns
A new instance of OutgoingHttpResponse.