code: def _set_response_headers(self, response):
          
          options = self._get_local_options()
          self._set_feature_headers(response.headers, options)
          self._set_frame_options_headers(response.headers, options)
          self._set_content_security_policy_headers(response.headers, options)
          self._set_hsts_headers(response.headers)
          self._set_referrer_policy_headers(response.headers)
          return response
docs: Applies all configured headers to the given response.