Back to Expressjs

Res Get

_includes/api/en/5x/res-get.md

latest177 B
Original Source
<h3 id='res.get'>res.get(field)</h3>

Returns the HTTP response header specified by field. The match is case-insensitive.

js
res.get('Content-Type')
// => "text/plain"