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
Method
__init__
(self, conn: HTTPConnection, message: str)
src/urllib3/exceptions.py:142
Method
__init__
(self, host: str, conn: HTTPConnection, reason: socket.gaierror)
src/urllib3/exceptions.py:161
Method
__init__
(self, location: str)
src/urllib3/exceptions.py:185
Method
__init__
(self, scheme: str)
src/urllib3/exceptions.py:195
Method
__init__
(self, partial: int, expected: int)
src/urllib3/exceptions.py:258
Method
__init__
(self, response: HTTPResponse, length: bytes)
src/urllib3/exceptions.py:272
Method
__init__
(self, scheme: str | None)
src/urllib3/exceptions.py:294
Method
__init__
( self, defects: list[MessageDefect], unparsed_data: bytes | str | None )
src/urllib3/exceptions.py:313
Method
__init__
(self, headers: typing.Mapping[str, str] | None = None)
src/urllib3/_request_methods.py:51
Method
__init__
(self)
src/urllib3/response.py:79
Method
__init__
(self)
src/urllib3/response.py:152
Method
__init__
(self)
src/urllib3/response.py:168
Method
__init__
(self, modes: str)
src/urllib3/response.py:197
Method
__init__
(self)
src/urllib3/response.py:244
Method
__init__
( self, *, headers: typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None = N
src/urllib3/response.py:315
Method
__init__
( self, body: _TYPE_BODY = "", headers: typing.Mapping[str, str] | typing.Mapping[byte
src/urllib3/response.py:573
Method
__init__
( self, host: str, port: int | None = None, *, tim
src/urllib3/_base_connection.py:54
Method
__init__
( self, host: str, port: int | None = None, *, tim
src/urllib3/_base_connection.py:146
Method
__init__
( self, proxy_url: str, num_pools: int = 10, headers: typing.Mapping[str, str]
src/urllib3/poolmanager.py:547
Method
__init__
( self, host: str, port: int | None = None, timeout: _TYPE_TIMEOUT | None = _D
src/urllib3/connectionpool.py:177
Method
__init__
( self, host: str, port: int | None = None, timeout: _TYPE_TIMEOUT | None = _D
src/urllib3/connectionpool.py:982
Method
__init__
( self, maxsize: int = 10, dispose_func: typing.Callable[[_VT], None] | None = None,
src/urllib3/_collections.py:84
Method
__init__
(self, headers: HTTPHeaderDict)
src/urllib3/_collections.py:189
Method
__init__
( self, proxy_url: str, username: str | None = None, password: str | None = No
src/urllib3/contrib/socks.py:184
Method
__init__
( self, connection: OpenSSL.SSL.Connection, socket: socket_cls, suppress_ragge
src/urllib3/contrib/pyopenssl.py:277
Method
__init__
(self, protocol: int)
src/urllib3/contrib/pyopenssl.py:414
Method
__init__
( self, host: str, port: int = 0, *, timeout: _TYPE_TIMEOUT = _DEFAULT
src/urllib3/contrib/emscripten/connection.py:177
Method
__init__
( self, internal_response: EmscriptenResponse, url: str | None = None, connect
src/urllib3/contrib/emscripten/response.py:31
Method
__init__
( self, message: str | None = None, *, request: EmscriptenRequest | None = Non
src/urllib3/contrib/emscripten/fetch.py:67
Method
__init__
(self)
src/urllib3/contrib/emscripten/fetch.py:195
Method
__init__
( self, total: bool | int | None = 10, connect: int | None = None, read: int |
src/urllib3/util/retry.py:202
Method
__init__
Create an SSLTransport around socket using the provided ssl_context.
src/urllib3/util/ssltransport.py:49
Method
__init__
( self, total: _TYPE_TIMEOUT = None, connect: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
src/urllib3/util/timeout.py:109
Method
__init__
(self, upstream_ca_certs: str | None = None)
dummyserver/asgi_proxy.py:31
Method
__init__
( self, socket_handler: typing.Callable[[socket.socket], None], host: str = "localhost
dummyserver/socketserver.py:106
Method
__ior__
(self, other: object)
src/urllib3/_collections.py:456
Method
__iter__
(self)
src/urllib3/_collections.py:138
Method
__iter__
(self)
src/urllib3/_collections.py:195
Method
__iter__
(self)
src/urllib3/_collections.py:291
Method
__len__
(self)
src/urllib3/response.py:248
Method
__len__
(self)
src/urllib3/_collections.py:134
Method
__len__
(self)
src/urllib3/_collections.py:192
Method
__len__
(self)
src/urllib3/_collections.py:288
Method
__ne__
(self, other: object)
src/urllib3/_collections.py:285
Method
__new__
( # type: ignore[no-untyped-def] cls, scheme: str | None = None, auth: str | None = N
src/urllib3/util/url.py:100
Method
__or__
(self, other: object)
src/urllib3/_collections.py:465
Method
__reduce__
(self)
src/urllib3/exceptions.py:38
Method
__reduce__
(self)
src/urllib3/exceptions.py:50
Method
__repr__
(self)
test/with_dummyserver/test_poolmanager.py:677
Method
__repr__
(self)
src/urllib3/exceptions.py:262
Method
__repr__
(self)
src/urllib3/exceptions.py:278
Method
__repr__
(self)
src/urllib3/_collections.py:422
Method
__repr__
(self)
src/urllib3/util/retry.py:525
Method
__repr__
(self)
src/urllib3/util/timeout.py:120
Method
__ror__
(self, other: object)
src/urllib3/_collections.py:475
Method
__setitem__
(self, key: _KT, value: _VT)
src/urllib3/_collections.py:102
Method
__setitem__
(self, key: str, val: str)
src/urllib3/_collections.py:253
Method
__str__
(self)
src/urllib3/connectionpool.py:94
Method
__str__
(self)
src/urllib3/util/url.py:209
Method
_decref_socketios
(self)
src/urllib3/contrib/pyopenssl.py:293
Method
_decref_socketios
(self)
src/urllib3/util/ssltransport.py:211
Function
_default_key_normalizer
Create a pool key out of a request context dictionary. According to RFC 3986, both the scheme and host are case-insensitive. Therefore,
src/urllib3/poolmanager.py:95
Method
_encode_chunk
(self, chunk: bytes)
test/test_response.py:1640
Method
_encode_chunk
(self, chunk: bytes)
test/test_response.py:1647
Method
_encode_chunk
(self, chunk: bytes)
test/test_response.py:1652
Method
_encode_chunk
(self, chunk: bytes)
test/test_response.py:1661
Method
_encode_chunk
(self, chunk: bytes)
test/test_response.py:1666
Function
_install_coverage
(self: Any)
test/contrib/emscripten/conftest.py:67
Method
_new_conn
Return a fresh :class:`urllib3.connection.HTTPConnection`.
src/urllib3/connectionpool.py:1046
Method
_new_conn
Establish a new connection via the SOCKS proxy.
src/urllib3/contrib/socks.py:98
Method
_prepare_proxy
Establishes a tunnel connection through HTTP CONNECT.
src/urllib3/connectionpool.py:1031
Method
_run_preload
(self, pool: HTTPSConnectionPool, content_length: int)
test/with_dummyserver/test_socketlevel.py:1629
Method
_run_read1_None
(self, pool: HTTPSConnectionPool, content_length: int)
test/with_dummyserver/test_socketlevel.py:1643
Method
_run_read1_amt
(self, pool: HTTPSConnectionPool, content_length: int)
test/with_dummyserver/test_socketlevel.py:1653
Method
_run_read_None
(self, pool: HTTPSConnectionPool, content_length: int)
test/with_dummyserver/test_socketlevel.py:1633
Method
_run_read_amt
(self, pool: HTTPSConnectionPool, content_length: int)
test/with_dummyserver/test_socketlevel.py:1638
Function
_skip_if_no_route
Skip test exuction if network is unreachable
test/__init__.py:184
Function
_start_server
( config: hypercorn.Config, app: QuartTrio, ready_event: threading.Event, shutdown_event: thre
dummyserver/hypercornserver.py:25
Method
_start_server
( cls, socket_handler: typing.Callable[[socket.socket], None], quit_event: threading.E
dummyserver/testcase.py:177
Method
_test
( exception: type[BaseException], expect: type[BaseException],
test/test_connectionpool.py:324
Method
_test_request
(pool: HTTPSConnectionPool)
test/with_dummyserver/test_https.py:497
Method
_validate_conn
Called right before a request is made, after the socket is created.
src/urllib3/connectionpool.py:1087
Function
_verify_callback
( cnx: OpenSSL.SSL.Connection, x509: X509, err_no: int, err_depth: int, return_code: int,
src/urllib3/contrib/pyopenssl.py:541
Function
alpn_protocol
Return the requester's certificate.
dummyserver/app.py:45
Function
apply_caching
(response: Response)
dummyserver/app.py:306
Function
assert_fingerprint
Checks if given fingerprint matches the supplied certificate. :param cert: Certificate as bytes object. :param fingerprint:
src/urllib3/util/ssl_.py:147
Method
authority
Authority component as defined in RFC 3986 3.2. This includes userinfo (auth), host and port. i.e. userinfo@host
src/urllib3/util/url.py:132
Method
base_url
(self)
test/conftest.py:58
Function
bigfile
()
dummyserver/app.py:319
Method
body_generator
()
test/with_dummyserver/test_socketlevel.py:2370
Method
call_and_mark
( target: typing.Callable[..., None] )
dummyserver/testcase.py:353
Function
capture_log
(*args)
test/contrib/emscripten/test_emscripten.py:238
Function
certificate
Return the requester's certificate.
dummyserver/app.py:52
Function
chunked
()
dummyserver/app.py:106
Function
chunked_gzip
()
dummyserver/app.py:115
Method
clear
(self)
src/urllib3/_collections.py:143
Method
close
(self)
test/test_response.py:1217
Method
close
(self)
src/urllib3/_base_connection.py:100
Method
close
Close all pooled connections and disable the pool.
src/urllib3/connectionpool.py:560
Method
close
(self)
src/urllib3/contrib/emscripten/connection.py:134
← previous
next →
401–500 of 1,476, ranked by callers