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
stream
( self, amt: int | None = 2**16, decode_content: bool | None = None )
src/urllib3/response.py:410
Method
stream
A generator wrapper for the read() method. A call will block until ``amt`` bytes have been read from the connection or until the
src/urllib3/contrib/emscripten/response.py:76
Function
stub_timezone
A pytest fixture that runs the test with a stub timezone.
test/conftest.py:298
Function
successful_retry
First return an error and then success It's not currently very flexible as the number of retries is hard-coded.
dummyserver/app.py:288
Function
supported_tls_versions
()
test/conftest.py:307
Method
teardown_class
(cls)
test/test_util.py:1119
Method
teardown_class
(cls)
test/test_ssltransport.py:367
Method
teardown_class
(cls)
test/with_dummyserver/test_socketlevel.py:194
Method
teardown_class
(cls)
test/with_dummyserver/test_proxy_poolmanager.py:76
Method
teardown_class
(cls)
dummyserver/testcase.py:147
Method
teardown_class
(cls)
dummyserver/testcase.py:223
Method
teardown_class
(cls)
dummyserver/testcase.py:310
Method
teardown_method
(self)
dummyserver/testcase.py:151
Function
teardown_module
()
test/contrib/test_pyopenssl_dependencies.py:22
Function
teardown_module
()
test/contrib/test_pyopenssl.py:29
Method
test_303_redirect_makes_request_lose_body
(self)
test/with_dummyserver/test_connectionpool.py:483
Method
test_303_redirect_makes_request_lose_body
(self)
test/with_dummyserver/test_poolmanager.py:271
Function
test_404
(selenium_coverage: typing.Any, testserver_http: PyodideServerInfo)
test/contrib/emscripten/test_emscripten.py:204
Method
test_HTTPSConnection_default_socket_options
(self)
test/test_connection.py:209
Method
test_Url_str
(self)
test/test_util.py:358
Method
test__iter__
(self, payload: bytes, expected_stream: list[bytes])
test/test_response.py:1486
Method
test__iter__decode_content
(self)
test/test_response.py:1493
Method
test_access_ordering
(self)
test/test_collections.py:58
Method
test_add_comma_separated_multiheader
(self, d: HTTPHeaderDict)
test/test_collections.py:238
Method
test_add_stderr_logger
(self)
test/test_util.py:626
Method
test_add_well_known_multiheader
(self, d: HTTPHeaderDict)
test/test_collections.py:233
Method
test_allowed_methods_with_status_forcelist
(self)
test/test_retry.py:253
Method
test_alpn_default
Default ALPN protocols are sent by default.
test/with_dummyserver/test_https.py:945
Method
test_alpn_protocol_in_first_request_packet
(self)
test/with_dummyserver/test_socketlevel.py:109
Method
test_assert_fingerprint_closes_socket
(self)
test/test_connection.py:241
Method
test_assert_fingerprint_md5
(self)
test/with_dummyserver/test_https.py:458
Method
test_assert_fingerprint_raises_exception_on_none_cert
(self)
test/test_ssl.py:228
Method
test_assert_fingerprint_sha1
(self)
test/with_dummyserver/test_https.py:469
Method
test_assert_fingerprint_sha256
(self)
test/with_dummyserver/test_https.py:482
Method
test_assert_header_parsing_no_error_on_multipart
(self)
test/test_util.py:843
Method
test_assert_header_parsing_throws_typeerror_with_non_headers
( self, headers: bytes | object | None )
test/test_util.py:803
Method
test_assert_hostname_and_fingerprint_flag
Assert that pool manager can accept hostname and fingerprint flags.
test/test_poolmanager.py:240
Method
test_assert_hostname_closes_socket
(self)
test/test_connection.py:256
Method
test_assert_hostname_false
(self)
test/with_dummyserver/test_https.py:415
Method
test_assert_hostname_invalid_cn
Ensure CN errors are not raised while assert_hostname is false
test/with_dummyserver/test_https.py:1120
Method
test_assert_hostname_invalid_san
Ensure SAN errors are not raised while assert_hostname is false
test/with_dummyserver/test_https.py:1107
Method
test_assert_invalid_fingerprint
(self)
test/with_dummyserver/test_https.py:496
Method
test_assert_same_host
(self)
test/test_connectionpool.py:367
Method
test_assert_specific_hostname
(self)
test/with_dummyserver/test_https.py:426
Function
test_audit_event
(audit_mock: mock.Mock, pool: HTTPConnectionPool)
test/with_dummyserver/test_connection.py:35
Method
test_authority
(self, url: str, expected_authority: str | None)
test/test_util.py:417
Method
test_authority_matches_urllib_netloc
Validate this matches the behavior of urlparse().netloc
test/test_util.py:421
Method
test_backoff
Backoff is computed correctly
test/test_retry.py:134
Method
test_backoff_jitter
Backoff with jitter is computed correctly
test/test_retry.py:184
Method
test_backoff_reset_after_redirect
(self)
test/test_retry.py:220
Method
test_bad_connect
(self)
test/with_dummyserver/test_connectionpool.py:494
Method
test_bad_decode
(self)
test/with_dummyserver/test_connectionpool.py:625
Function
test_bad_method
( selenium_coverage: typing.Any, testserver_http: PyodideServerInfo )
test/contrib/emscripten/test_emscripten.py:162
Method
test_bad_statusline
(self)
test/with_dummyserver/test_socketlevel.py:1715
Method
test_base_io
(self)
test/test_response.py:590
Method
test_basic_ipv6_proxy
(self)
test/with_dummyserver/test_proxy_poolmanager.py:719
Method
test_basic_proxy
(self)
test/with_dummyserver/test_proxy_poolmanager.py:80
Method
test_basic_request
(self)
test/contrib/test_socks.py:248
Method
test_basic_request
(self)
test/contrib/test_socks.py:555
Method
test_basic_request
(self)
test/contrib/test_socks.py:734
Method
test_body
(self)
test/with_dummyserver/test_poolmanager.py:501
Method
test_body_blob
(self)
test/test_response.py:584
Function
test_break_worker_streaming
( selenium_coverage: typing.Any, testserver_http: PyodideServerInfo, run_from_server: ServerRunner
test/contrib/emscripten/test_emscripten.py:751
Function
test_brotlipy
Check that if 'brotlipy' is installed instead of 'brotli' or 'brotlicffi' that we still don't blow up.
noxfile.py:124
Method
test_buffer_memory_usage_decode_one_chunk
( self, preload_content: bool, amt: int, read_meth: str )
test/test_response.py:1099
Method
test_buffer_memory_usage_no_decoding
( self, preload_content: bool, amt: int, read_meth: str )
test/test_response.py:1123
Method
test_buggy_incomplete_read
(self)
test/test_response.py:1311
Method
test_bytes_header
(self)
test/with_dummyserver/test_connectionpool.py:1053
Method
test_bytestring_body
(self)
test/with_dummyserver/test_chunked_transfer.py:78
Method
test_ca_certs_default_cert_required
(self)
test/test_connectionpool.py:461
Method
test_ca_dir_verified
(self, tmp_path: Path)
test/with_dummyserver/test_https.py:272
Method
test_cache_content
(self)
test/test_response.py:165
Method
test_cache_content_preload_false
(self)
test/test_response.py:171
Method
test_can_validate_ip_san
Ensure that urllib3 can validate SANs with IP addresses in them.
test/with_dummyserver/test_https.py:1135
Method
test_can_validate_ipv6_san
Ensure that urllib3 can validate SANs with IPv6 addresses in them.
test/with_dummyserver/test_https.py:1149
Method
test_can_validate_san
Ensure that urllib3 can validate SANs with IP addresses in them.
test/with_dummyserver/test_https.py:1019
Method
test_cannot_import_ssl
(self)
test/test_no_ssl.py:35
Method
test_check_deflate
(self)
test/with_dummyserver/test_connectionpool.py:617
Method
test_check_gzip
(self)
test/with_dummyserver/test_connectionpool.py:609
Method
test_chunked_decoding_brotli
(self)
test/test_response.py:384
Method
test_chunked_decoding_deflate
(self)
test/test_response.py:283
Method
test_chunked_decoding_deflate2
(self)
test/test_response.py:296
Method
test_chunked_decoding_gzip
(self, content_encoding: str)
test/test_response.py:312
Method
test_chunked_decoding_gzip_swallow_garbage
(self)
test/test_response.py:364
Method
test_chunked_decoding_zstd
(self)
test/test_response.py:435
Method
test_chunked_gzip
(self)
test/with_dummyserver/test_connectionpool.py:842
Method
test_chunked_head_response
(self)
test/test_response.py:1407
Method
test_chunked_head_response_does_not_hang
(self)
test/with_dummyserver/test_socketlevel.py:2001
Method
test_chunked_not_specified
(self, method: str, body_type: str)
test/with_dummyserver/test_socketlevel.py:2401
Method
test_chunked_response_with_extensions
(self)
test/test_response.py:1395
Method
test_chunked_response_without_crlf_on_end
(self)
test/test_response.py:1383
Method
test_chunked_specified
( self, method: str, chunked: bool, body_type: str )
test/with_dummyserver/test_socketlevel.py:2332
Method
test_chunks
(self, chunks: list[bytes | str])
test/with_dummyserver/test_chunked_transfer.py:44
Method
test_cleanup_on_connection_error
Test that connections are recycled to the pool on connection errors where no http response is received.
test/with_dummyserver/test_connectionpool.py:850
Method
test_cleanup_on_extreme_connection_error
This test validates that we clean up properly even on exceptions that we'd not otherwise catch, i.e. those that inherit from BaseExce
test/test_connectionpool.py:466
Method
test_client_cert_with_bytes_password
(self)
test/with_dummyserver/test_socketlevel.py:327
Method
test_client_cert_with_string_password
(self)
test/with_dummyserver/test_socketlevel.py:324
Method
test_client_certs_one_file
Having a client cert and its associated private key in just one file works properly.
test/with_dummyserver/test_socketlevel.py:255
Method
test_client_certs_two_files
Having a client cert in a separate file to its associated key works properly.
test/with_dummyserver/test_socketlevel.py:211
Method
test_client_encrypted_key_requires_password
(self)
test/with_dummyserver/test_https.py:212
← previous
next →
701–800 of 1,476, ranked by callers