---
sidebar:
  hidden: true
title: roboto.http
---
## Submodules

- [roboto.http.constants](/docs/reference/python-sdk/roboto/http/constants)
- [roboto.http.headers](/docs/reference/python-sdk/roboto/http/headers)
- [roboto.http.http_client](/docs/reference/python-sdk/roboto/http/http_client)
- [roboto.http.options](/docs/reference/python-sdk/roboto/http/options)
- [roboto.http.request](/docs/reference/python-sdk/roboto/http/request)
- [roboto.http.request_decorators](/docs/reference/python-sdk/roboto/http/request_decorators)
- [roboto.http.requester](/docs/reference/python-sdk/roboto/http/requester)
- [roboto.http.response](/docs/reference/python-sdk/roboto/http/response)
- [roboto.http.retry](/docs/reference/python-sdk/roboto/http/retry)
- [roboto.http.roboto_client](/docs/reference/python-sdk/roboto/http/roboto_client)
- [roboto.http.tls](/docs/reference/python-sdk/roboto/http/tls)
- [roboto.http.url_builder](/docs/reference/python-sdk/roboto/http/url_builder)

## Package Contents

- [BEARER_TOKEN_HEADER](/reference/python-sdk/roboto/http/constants#roboto.http.constants.BEARER_TOKEN_HEADER) (data): `BEARER_TOKEN_HEADER = 'X-Roboto-Bearer-Token'`. Bearer token which is parsed as a JWT to provide additional request context for invocations

- [BatchRequest](/reference/python-sdk/roboto/http/request#roboto.http.request.BatchRequest) (class): Batched HTTP requests

- [BatchResponse](/reference/python-sdk/roboto/http/response#roboto.http.response.BatchResponse) (class): The response to a batch request, holding one element per request element, in the order the request sent them.

- [BatchResponseElement](/reference/python-sdk/roboto/http/response#roboto.http.response.BatchResponseElement) (class): One element of a response to a batch request, holding `data` when the operation succeeded and `error` when it failed, never both. An element holding neither reports an operation that returns no content, the batch equivalent of a 204 answer to a singular call.

- [BearerTokenDecorator](/reference/python-sdk/roboto/http/request_decorators#roboto.http.request_decorators.BearerTokenDecorator) (class): Decorates requests with a static, unchanging bearer token.

- [CONNECTION_CONSISTENCY_HEADER](/reference/python-sdk/roboto/http/constants#roboto.http.constants.CONNECTION_CONSISTENCY_HEADER) (data): `CONNECTION_CONSISTENCY_HEADER = 'X-Roboto-Connection-Consistency'`. Header to control database read consistency for query/search endpoints.

- [CONTENT_TYPE_JSON_HEADER](/reference/python-sdk/roboto/http/headers#roboto.http.headers.CONTENT_TYPE_JSON_HEADER) (data)

- [ClientError](/reference/python-sdk/roboto/exceptions/http#roboto.exceptions.http.ClientError) (exception): Common base class for all non-exit exceptions.

- [DEFAULT_HTTP_TIMEOUT](/reference/python-sdk/roboto/http/roboto_client#roboto.http.roboto_client.DEFAULT_HTTP_TIMEOUT) (data): `DEFAULT_HTTP_TIMEOUT = 30.0`

- [HttpClient](/reference/python-sdk/roboto/http/http_client#roboto.http.http_client.HttpClient) (class)

- [HttpClientOptions](/reference/python-sdk/roboto/http/options#roboto.http.options.HttpClientOptions) (class): Behavior of a [`HttpClient`](/reference/python-sdk/roboto/http/http_client#roboto.http.http_client.HttpClient), applied to every request it makes.

- [HttpError](/reference/python-sdk/roboto/exceptions/http#roboto.exceptions.http.HttpError) (exception): Common base class for all non-exit exceptions.

- [HttpLoggingOptions](/reference/python-sdk/roboto/http/options#roboto.http.options.HttpLoggingOptions) (class): How a [`HttpClient`](/reference/python-sdk/roboto/http/http_client#roboto.http.http_client.HttpClient) renders requests into its logs.

- [HttpRequest](/reference/python-sdk/roboto/http/request#roboto.http.request.HttpRequest) (class)

- [HttpRetryOptions](/reference/python-sdk/roboto/http/options#roboto.http.options.HttpRetryOptions) (class): Whether and how many times a [`HttpClient`](/reference/python-sdk/roboto/http/http_client#roboto.http.http_client.HttpClient) retries a failed request.

- [InvalidPaginationTokenError](/reference/python-sdk/roboto/http/response#roboto.http.response.InvalidPaginationTokenError) (exception): Raised when a pagination token cannot be parsed.

- [ORG_OVERRIDE_HEADER](/reference/python-sdk/roboto/http/constants#roboto.http.constants.ORG_OVERRIDE_HEADER) (data): `ORG_OVERRIDE_HEADER = 'X-Roboto-Org-Id'`. Header to specify the organization that the user is acting on behalf of.

- [ORG_OVERRIDE_QUERY_PARAM](/reference/python-sdk/roboto/http/constants#roboto.http.constants.ORG_OVERRIDE_QUERY_PARAM) (data): `ORG_OVERRIDE_QUERY_PARAM = 'robotoOrgId'`. Query parameter to specify the organization that the user is acting on behalf of.

- [PaginatedList](/reference/python-sdk/roboto/http/response#roboto.http.response.PaginatedList) (class): A list of records pulled from a paginated result set.

- [PaginationToken](/reference/python-sdk/roboto/http/response#roboto.http.response.PaginationToken) (class): A pagination token that can be treated as a truly opaque token by clients, with support for evolving the token format over time.

- [PaginationTokenEncoding](/reference/python-sdk/roboto/http/response#roboto.http.response.PaginationTokenEncoding) (class): Pagination token encoding enum

- [PaginationTokenScheme](/reference/python-sdk/roboto/http/response#roboto.http.response.PaginationTokenScheme) (class): Pagination token scheme enum

- [RESOURCE_OWNER_OVERRIDE_HEADER](/reference/python-sdk/roboto/http/constants#roboto.http.constants.RESOURCE_OWNER_OVERRIDE_HEADER) (data): `RESOURCE_OWNER_OVERRIDE_HEADER = 'X-Roboto-Resource-Owner-Id'`. Header to specify the organization that owns the resource being accessed.

- [RESOURCE_OWNER_OVERRIDE_QUERY_PARAM](/reference/python-sdk/roboto/http/constants#roboto.http.constants.RESOURCE_OWNER_OVERRIDE_QUERY_PARAM) (data): `RESOURCE_OWNER_OVERRIDE_QUERY_PARAM = 'robotoResourceOwnerId'`. Query parameter to specify the organization that owns the resource being accessed.

- [ROBOTO_REQUESTER_HEADER](/reference/python-sdk/roboto/http/requester#roboto.http.requester.ROBOTO_REQUESTER_HEADER) (data): `ROBOTO_REQUESTER_HEADER = 'X-Roboto-Requester'`. A JSON serialized [`RobotoRequester`](/reference/python-sdk/roboto/http/requester#roboto.http.requester.RobotoRequester) representing the entity making a request to Roboto.

- [RetryPredicate](/reference/python-sdk/roboto/http/options#roboto.http.options.RetryPredicate) (data): Decides whether the exception warrants another attempt at the request.

- [RobotoClient](/reference/python-sdk/roboto/http/roboto_client#roboto.http.roboto_client.RobotoClient) (class): A client for making HTTP requests against Roboto service

- [RobotoRequester](/reference/python-sdk/roboto/http/requester#roboto.http.requester.RobotoRequester) (class): Details about the entity making a request to Roboto. These are embedded in a header in order to see what tool versions / operating systems are making requests, and to aid debugging.

- [RobotoTool](/reference/python-sdk/roboto/http/requester#roboto.http.requester.RobotoTool) (class): Tool used to access Roboto

- [ServerError](/reference/python-sdk/roboto/exceptions/http#roboto.exceptions.http.ServerError) (exception): Common base class for all non-exit exceptions.

- [SigV4AuthDecorator](/reference/python-sdk/roboto/http/request_decorators#roboto.http.request_decorators.SigV4AuthDecorator) (class)

- [StreamedList](/reference/python-sdk/roboto/http/response#roboto.http.response.StreamedList) (class): A StreamedList differs from a PaginatedList in that it represents a stream of data that is in process of being written to. Unlike a result set, which is finite and complete, a stream may be infinite, and it is unknown when or if it will complete.

- [USER_OVERRIDE_HEADER](/reference/python-sdk/roboto/http/constants#roboto.http.constants.USER_OVERRIDE_HEADER) (data): `USER_OVERRIDE_HEADER = 'X-Roboto-User-Id'`. Header to specify the user that is performing the REST operation.

- [USER_OVERRIDE_QUERY_PARAM](/reference/python-sdk/roboto/http/constants#roboto.http.constants.USER_OVERRIDE_QUERY_PARAM) (data): `USER_OVERRIDE_QUERY_PARAM = 'robotoUserId'`. "Query parameter to specify the user that is performing the REST operation.

- [is_expected_to_be_transient()](/reference/python-sdk/roboto/http/http_client#roboto.http.http_client.is_expected_to_be_transient) (function): The default retry predicate: whether `exc` is expected to be transient for `request`.

- [never_retry()](/reference/python-sdk/roboto/http/options#roboto.http.options.never_retry) (function): Retry predicate giving every request exactly one attempt.

- [roboto_headers()](/reference/python-sdk/roboto/http/headers#roboto.http.headers.roboto_headers) (function)
