Sets the Vary header.
@api
string|array $headers:
Boolean $replace Whether to replace the actual value of not (true by default):
public function setVary($headers, $replace = true) {
$this->headers
->set('Vary', $headers, $replace);
return $this;
}