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 | |
|---|---|
| SafePoolManager | A wrapped urllib3.PoolManager with context supported. |
| SafeRequest | A wrapper for providing context for the urllib3.BaseHTTPResponse. |
Typehints
| Member | |
|---|---|
| MethodApproved | The literal notation of all available HTTP methods. |
| ReqLocApproved | The literal notation of all possible request data locations. |
| ReqFile | The possible formats of the fields data in the request. |
Functions
| Member | |
|---|---|
| clean_http_manager | A callback for cleaning the http requests. |
| close_request_session | A callback for cleaning the request sessions. |