import { Response } from "https://deno.land/x/opine@2.3.4/src/response.ts";
Set header field
to value
, or pass
an object of header fields.
alias for res.set()
Examples:
res.setHeader('Accept', 'application/json');
res.setHeader({
'Accept-Language': "en-US, en;q=0.5",
'Accept': 'text/html',
});