Back to Expressjs

Res Vary

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

latest162 B
Original Source
<h3 id='res.vary'>res.vary(field)</h3>

Adds the field to the Vary response header, if it is not there already.

js
res.vary('User-Agent').render('docs')