Skip to main content
Version: 1.2.2

webtools

ModulePrivateSource

The shared utilities for web services. This module is private and should not be exposed to users.

The implementation of this module is mainly based on urllib3.

Classes

Member
Description
SafePoolManagerA wrapped urllib3.PoolManager with context supported.
SafeRequestA wrapper for providing context for the urllib3.BaseHTTPResponse.

Typehints

Member
Description
MethodApprovedThe literal notation of all available HTTP methods.
ReqLocApprovedThe literal notation of all possible request data locations.
ReqFileThe possible formats of the fields data in the request.

Functions

Member
Description
clean_http_managerA callback for cleaning the http requests.
close_request_sessionA callback for cleaning the request sessions.