/**
  * {@inheritdoc}
  */
 public function getHttpResponse(ResponseInterface &$response)
 {
     $this->response_mode->prepareResponse($this->redirect_uri, $this->getResponseData(), $response);
     foreach ($this->getResponseHeaders() as $name => $header) {
         $response = $response->withAddedHeader($name, $header);
     }
 }