code: def _request(self, method, uri_relative, request_bytes, params,
                   custom_headers):
          
  
          uri_relative_with_params = self._append_params_to_uri(uri_relative,
                                                                params)
          if uri_relative not in self._URIS_NOT_REQUIRING_ACTIVE_SESSION:
              if self._api_context.ensure_session_active():
                  from bunq.sdk.context import BunqContext
  
                  BunqContext.update_api_context(self._api_context)
  
          all_headers = self._get_all_headers(
              method,
              uri_relative_with_params,
              request_bytes,
              custom_headers
          )
  
          response = requests.request(
              method,
              self._get_uri_full(uri_relative_with_params),
              data=request_bytes,
              headers=all_headers,
              proxies={self._FIELD_PROXY_HTTPS: self._api_context.proxy_url},
          )
  
          self._assert_response_success(response)
  
          if self._api_context.installation_context is not None:
              security.validate_response(
                  self._api_context.installation_context.public_key_server,
                  response.status_code,
                  response.content,
                  response.headers
              )
  
          return self._create_bunq_response_raw(response)
docs: :type method: str
          :type uri_relative: str
          :type request_bytes: bytes
          :type params: dict[str, str]
          :type custom_headers: dict[str, str]
  
          :return: BunqResponseRaw