public function get_response_headers() { if (!$this->executed) { throw new \Exception(_t('Unable to get response headers. Request did not yet execute.')); } return $this->response_headers; }