MCPcopy Create free account

hub / github.com/urllib3/urllib3 / functions

Functions1,476 in github.com/urllib3/urllib3

↓ 1 callersMethodcompression
(self)
src/urllib3/util/ssltransport.py:202
↓ 1 callersMethodconnect
(self)
src/urllib3/contrib/emscripten/connection.py:81
↓ 1 callersMethodconnection_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 callersMethodconsume_request
Consume a socket until after the HTTP request is sent.
dummyserver/testcase.py:369
↓ 1 callersFunctiondisable_warnings
Helper for quickly disabling all urllib3 warnings.
src/urllib3/__init__.py:107
↓ 1 callersFunctiondo_poll
(t: float | None)
src/urllib3/util/wait.py:74
↓ 1 callersMethodendheaders
(self)
src/urllib3/http2.py:106
↓ 1 callersMethodfind_module
( self, fullname: str, path: typing.Sequence[bytes | str] | None = None )
test/__init__.py:295
↓ 1 callersFunctionformat_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 callersFunctionformat_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 callersFunctionformat_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 callersMethodget_retry_after
Get the value of Retry-After in seconds.
src/urllib3/util/retry.py:325
↓ 1 callersMethodgetheader
(self, name: str, default: str | None = None)
src/urllib3/response.py:523
↓ 1 callersMethodgetheaders
(self)
src/urllib3/response.py:514
↓ 1 callersFunctionhandle_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 callersFunctionidna_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 callersMethodinfo
(self)
src/urllib3/response.py:533
↓ 1 callersFunctioninject_into_urllib3
()
src/urllib3/http2.py:218
↓ 1 callersFunctionis_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 callersFunctionis_in_node
()
src/urllib3/contrib/emscripten/fetch.py:300
↓ 1 callersFunctionis_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 callersFunctioniter_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 callersFunctionlint
(session: nox.Session)
noxfile.py:196
↓ 1 callersFunctionmain
()
dummyserver/hypercornserver.py:72
↓ 1 callersFunctionmake_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 callersMethodmakefile
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 callersFunctionmypy
Run mypy.
noxfile.py:321
↓ 1 callersMethodputheader
(self, header: str, *values: str)
src/urllib3/connection.py:308
↓ 1 callersMethodputrequest
( self, method: str, url: str, skip_host: bool = False, skip_accept_en
src/urllib3/connection.py:288
↓ 1 callersMethodread
(self, _: int)
test/test_response.py:997
↓ 1 callersMethodread
(self, amt: int)
test/test_response.py:1206
↓ 1 callersMethodreadinto
(self, b: bytearray)
src/urllib3/response.py:505
↓ 1 callersMethodrelease_conn
(self)
src/urllib3/contrib/emscripten/response.py:196
↓ 1 callersMethodrequest_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 callersFunctionreraise
( tp: type[BaseException] | None, value: BaseException, tb: TracebackType | None = None, )
src/urllib3/util/util.py:31
↓ 1 callersMethodselected_alpn_protocol
(self)
src/urllib3/util/ssltransport.py:193
↓ 1 callersMethodselected_npn_protocol
(self)
src/urllib3/util/ssltransport.py:196
↓ 1 callersFunctionsend_request
(request: EmscriptenRequest)
src/urllib3/contrib/emscripten/fetch.py:365
↓ 1 callersFunctionsend_streaming_request
(request: EmscriptenRequest)
src/urllib3/contrib/emscripten/fetch.py:324
↓ 1 callersMethodset_body
(self, body: _TYPE_BODY | None)
src/urllib3/contrib/emscripten/request.py:21
↓ 1 callersFunctionset_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 callersMethodset_header
(self, name: str, value: str)
src/urllib3/contrib/emscripten/request.py:18
↓ 1 callersMethodsetup_class
(cls)
test/test_no_ssl.py:21
↓ 1 callersMethodsetup_class
(cls)
test/with_dummyserver/test_proxy_poolmanager.py:58
↓ 1 callersMethodsetup_class
(cls)
test/with_dummyserver/test_poolmanager.py:24
↓ 1 callersMethodsetup_class
(cls)
test/with_dummyserver/test_https.py:99
↓ 1 callersMethodshared_ciphers
(self)
src/urllib3/util/ssltransport.py:199
↓ 1 callersMethodshutdown
(self)
src/urllib3/contrib/pyopenssl.py:369
↓ 1 callersMethodsocket_handler
(listener: socket.socket)
dummyserver/testcase.py:96
↓ 1 callersMethodstart_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 callersFunctionstub_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 callersMethodteardown_class
(cls)
test/test_no_ssl.py:29
↓ 1 callersMethodteardown_class
(cls)
test/with_dummyserver/test_https.py:133
↓ 1 callersFunctiontest
(session: nox.Session)
noxfile.py:113
↓ 1 callersMethodtls_protocol_not_default
(self)
test/with_dummyserver/test_https.py:71
↓ 1 callersMethoduninstall
(self)
test/__init__.py:256
↓ 1 callersMethodurlopen
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 callersFunctionvalidate_peercert
(ssl_socket: SSLTransport)
test/test_ssltransport.py:90
↓ 1 callersFunctionwait_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
← previousnext →301–400 of 1,476, ranked by callers