/** * Match the HTTP protocol of the request. * * @return void */ protected function ensureProtocolMatch() { if ($this->response->getProtocol() !== $this->request->getProtocol()) { $this->response->setProtocol($this->request->getProtocol()); } }