Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/urllib3/urllib3
/ functions
Functions
1,476 in github.com/urllib3/urllib3
⨍
Functions
1,476
◇
Types & classes
218
↳
Endpoints
57
↓ 1 callers
Method
compression
(self)
src/urllib3/util/ssltransport.py:202
↓ 1 callers
Method
connect
(self)
src/urllib3/contrib/emscripten/connection.py:81
↓ 1 callers
Method
connection_from_pool_key
Get a :class:`urllib3.connectionpool.ConnectionPool` based on the provided pool key. ``pool_key`` should be a namedtuple that only c
src/urllib3/poolmanager.py:330
↓ 1 callers
Method
consume_request
Consume a socket until after the HTTP request is sent.
dummyserver/testcase.py:369
↓ 1 callers
Function
disable_warnings
Helper for quickly disabling all urllib3 warnings.
src/urllib3/__init__.py:107
↓ 1 callers
Function
do_poll
(t: float | None)
src/urllib3/util/wait.py:74
↓ 1 callers
Method
endheaders
(self)
src/urllib3/http2.py:106
↓ 1 callers
Method
find_module
( self, fullname: str, path: typing.Sequence[bytes | str] | None = None )
test/__init__.py:295
↓ 1 callers
Function
format_header_param
.. deprecated:: 2.0.0 Renamed to :func:`format_multipart_header_param`. Will be removed in urllib3 v2.1.0.
src/urllib3/fields.py:135
↓ 1 callers
Function
format_header_param_html5
.. deprecated:: 2.0.0 Renamed to :func:`format_multipart_header_param`. Will be removed in urllib3 v2.1.0.
src/urllib3/fields.py:117
↓ 1 callers
Function
format_header_param_rfc2231
Helper function to format and quote a single header parameter using the strategy defined in RFC 2231. Particularly useful for header par
src/urllib3/fields.py:31
↓ 1 callers
Method
get_retry_after
Get the value of Retry-After in seconds.
src/urllib3/util/retry.py:325
↓ 1 callers
Method
getheader
(self, name: str, default: str | None = None)
src/urllib3/response.py:523
↓ 1 callers
Method
getheaders
(self)
src/urllib3/response.py:514
↓ 1 callers
Function
handle_socks4_negotiation
Handle the SOCKS4 handshake. Returns a generator object that allows us to break the handshake into steps so that the test code can inter
test/contrib/test_socks.py:194
↓ 1 callers
Function
idna_encode
Borrowed wholesale from the Python Cryptography Project. It turns out that we can't just safely call `idna.encode`: it can explode fo
src/urllib3/contrib/pyopenssl.py:199
↓ 1 callers
Method
info
(self)
src/urllib3/response.py:533
↓ 1 callers
Function
inject_into_urllib3
()
src/urllib3/http2.py:218
↓ 1 callers
Function
is_connection_dropped
Returns True if the connection is dropped and should be closed. :param conn: :class:`urllib3.connection.HTTPConnection` object.
src/urllib3/util/connection.py:15
↓ 1 callers
Function
is_in_node
()
src/urllib3/contrib/emscripten/fetch.py:300
↓ 1 callers
Function
is_response_to_head
Checks whether the request of a response has been a HEAD-request. :param http.client.HTTPResponse response: Response to check if the
src/urllib3/util/response.py:91
↓ 1 callers
Function
iter_field_objects
Iterate over fields. Supports list of (k, v) tuples and dicts, and lists of :class:`~urllib3.fields.RequestField`.
src/urllib3/filepost.py:29
↓ 1 callers
Function
lint
(session: nox.Session)
noxfile.py:196
↓ 1 callers
Function
main
()
dummyserver/hypercornserver.py:72
↓ 1 callers
Function
make_headers
Shortcuts for generating request headers. :param keep_alive: If ``True``, adds 'connection: keep-alive' header. :param accept_e
src/urllib3/util/request.py:55
↓ 1 callers
Method
makefile
Python's httpclient uses makefile and buffered io when reading HTTP messages and we need to support it. This is unfortunatel
src/urllib3/util/ssltransport.py:116
↓ 1 callers
Function
mypy
Run mypy.
noxfile.py:321
↓ 1 callers
Method
putheader
(self, header: str, *values: str)
src/urllib3/connection.py:308
↓ 1 callers
Method
putrequest
( self, method: str, url: str, skip_host: bool = False, skip_accept_en
src/urllib3/connection.py:288
↓ 1 callers
Method
read
(self, _: int)
test/test_response.py:997
↓ 1 callers
Method
read
(self, amt: int)
test/test_response.py:1206
↓ 1 callers
Method
readinto
(self, b: bytearray)
src/urllib3/response.py:505
↓ 1 callers
Method
release_conn
(self)
src/urllib3/contrib/emscripten/response.py:196
↓ 1 callers
Method
request_chunked
Alternative to the common request method, which sends the body with chunked encoding and not as one block
src/urllib3/connection.py:419
↓ 1 callers
Function
reraise
( tp: type[BaseException] | None, value: BaseException, tb: TracebackType | None = None, )
src/urllib3/util/util.py:31
↓ 1 callers
Method
selected_alpn_protocol
(self)
src/urllib3/util/ssltransport.py:193
↓ 1 callers
Method
selected_npn_protocol
(self)
src/urllib3/util/ssltransport.py:196
↓ 1 callers
Function
send_request
(request: EmscriptenRequest)
src/urllib3/contrib/emscripten/fetch.py:365
↓ 1 callers
Function
send_streaming_request
(request: EmscriptenRequest)
src/urllib3/contrib/emscripten/fetch.py:324
↓ 1 callers
Method
set_body
(self, body: _TYPE_BODY | None)
src/urllib3/contrib/emscripten/request.py:21
↓ 1 callers
Function
set_file_position
If a position is provided, move file to that point. Otherwise, we'll attempt to record a position for future use.
src/urllib3/util/request.py:134
↓ 1 callers
Method
set_header
(self, name: str, value: str)
src/urllib3/contrib/emscripten/request.py:18
↓ 1 callers
Method
setup_class
(cls)
test/test_no_ssl.py:21
↓ 1 callers
Method
setup_class
(cls)
test/with_dummyserver/test_proxy_poolmanager.py:58
↓ 1 callers
Method
setup_class
(cls)
test/with_dummyserver/test_poolmanager.py:24
↓ 1 callers
Method
setup_class
(cls)
test/with_dummyserver/test_https.py:99
↓ 1 callers
Method
shared_ciphers
(self)
src/urllib3/util/ssltransport.py:199
↓ 1 callers
Method
shutdown
(self)
src/urllib3/contrib/pyopenssl.py:369
↓ 1 callers
Method
socket_handler
(listener: socket.socket)
dummyserver/testcase.py:96
↓ 1 callers
Method
start_proxy_handler
Socket handler for the proxy. Terminates the first TLS layer and tunnels any bytes needed for client <-> server communicatin.
test/test_ssltransport.py:285
↓ 1 callers
Function
stub_timezone_ctx
Switch to a locally-known timezone specified by `tzname`. On exit, restore the previous timezone. If `tzname` is `None`, do nothing.
test/tz_stub.py:19
↓ 1 callers
Method
teardown_class
(cls)
test/test_no_ssl.py:29
↓ 1 callers
Method
teardown_class
(cls)
test/with_dummyserver/test_https.py:133
↓ 1 callers
Function
test
(session: nox.Session)
noxfile.py:113
↓ 1 callers
Method
tls_protocol_not_default
(self)
test/with_dummyserver/test_https.py:71
↓ 1 callers
Method
uninstall
(self)
test/__init__.py:256
↓ 1 callers
Method
urlopen
Get a connection from the pool and perform an HTTP request. This is the lowest level call for making a request, so you'll need to spe
src/urllib3/connectionpool.py:594
↓ 1 callers
Function
validate_peercert
(ssl_socket: SSLTransport)
test/test_ssltransport.py:90
↓ 1 callers
Function
wait_for_write
Waits for writing to be available on a given socket. Returns True if the socket is readable, or False if the timeout expired.
src/urllib3/util/wait.py:120
Method
__call__
( self, conn: HTTPConnection, method: str, url
test/test_connectionpool.py:519
Method
__call__
( self, scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable )
dummyserver/asgi_proxy.py:34
Method
__contains__
(self, item: object)
src/urllib3/_collections.py:198
Method
__contains__
(self, key: object)
src/urllib3/_collections.py:266
Method
__del__
(self)
src/urllib3/contrib/emscripten/fetch.py:113
Method
__delitem__
(self, key: _KT)
src/urllib3/_collections.py:127
Method
__delitem__
(self, key: str)
src/urllib3/_collections.py:263
Method
__enter__
(self)
test/__init__.py:259
Method
__enter__
(self)
src/urllib3/http2.py:38
Method
__enter__
(self)
src/urllib3/poolmanager.py:216
Method
__enter__
(self)
src/urllib3/connectionpool.py:97
Method
__enter__
(self)
src/urllib3/util/ssltransport.py:72
Method
__exit__
( self, exc_type: type[BaseException] | None, exc_value: BaseException | None,
test/__init__.py:263
Method
__exit__
( self, exc_type: type[BaseException] | None, exc_val: BaseException | None, e
src/urllib3/http2.py:42
Method
__exit__
( self, exc_type: type[BaseException] | None, exc_val: BaseException | None, e
src/urllib3/poolmanager.py:219
Method
__exit__
( self, exc_type: type[BaseException] | None, exc_val: BaseException | None, e
src/urllib3/connectionpool.py:100
Method
__exit__
(self, *_: typing.Any)
src/urllib3/util/ssltransport.py:75
Method
__getitem__
(self, key: str)
test/test_collections.py:143
Method
__getitem__
(self, key: str)
src/urllib3/_collections.py:19
Method
__getitem__
(self, key: _KT)
src/urllib3/_collections.py:95
Method
__getitem__
(self, key: str)
src/urllib3/_collections.py:259
Method
__init__
(self)
test/__init__.py:235
Method
__init__
(self, fullname: str)
test/__init__.py:274
Method
__init__
(self, *namestoblock: str)
test/__init__.py:292
Method
__init__
( self, namespace: str, modules: dict[str, ModuleType] = sys.modules )
test/__init__.py:323
Method
__init__
(self, payload: bytes, payload_part_size: int)
test/test_response.py:989
Method
__init__
(self)
test/test_response.py:1203
Method
__init__
content: collection of str, each str is a chunk in response
test/test_response.py:1561
Method
__init__
( self, destination_server_host: str, destination_server_port: int )
test/test_ssltransport.py:278
Method
__init__
(self, **kwargs: str)
test/test_collections.py:136
Method
__init__
( self, ex: type[BaseException], pool: HTTPConnectionPool )
test/test_connectionpool.py:512
Method
__init__
(self, host: str, port: int, selenium: Any)
test/contrib/emscripten/conftest.py:108
Method
__init__
( self, sock: socket.socket, *args: object, **kwargs: object )
test/with_dummyserver/test_socketlevel.py:1501
Method
__init__
( self, host: str, port: int | None = None, **kwargs: typing.Any )
src/urllib3/http2.py:52
Method
__init__
( self, status: int, headers: HTTPHeaderDict, request_url: str, data:
src/urllib3/http2.py:185
Method
__init__
( self, host: str, port: int | None = None, *, timeout: _TYPE_TIMEOUT
src/urllib3/connection.py:512
Method
__init__
( self, name: str, data: _TYPE_FIELD_VALUE, filename: str | None = None,
src/urllib3/fields.py:171
Method
__init__
(self, pool: ConnectionPool, url: str, message: str)
src/urllib3/exceptions.py:46
Method
__init__
(self, message: str, error: Exception)
src/urllib3/exceptions.py:65
Method
__init__
( self, pool: ConnectionPool, url: str, reason: Exception | None = None )
src/urllib3/exceptions.py:96
Method
__init__
( self, pool: ConnectionPool, url: str, retries: Retry | int = 3 )
src/urllib3/exceptions.py:109
← previous
next →
301–400 of 1,476, ranked by callers