Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benoitc/gunicorn
/ functions
Functions
5,599 in github.com/benoitc/gunicorn
⨍
Functions
5,599
◇
Types & classes
1,147
↳
Endpoints
142
Method
test_default_values
Test default values when vars are missing.
tests/test_uwsgi.py:182
Method
test_default_workers_is_none
Base DirtyApp has workers=None (all workers).
tests/test_dirty_app.py:198
Function
test_defaults
()
tests/test_config.py:84
Method
test_deferred_events_are_drained_by_receive_data
(self)
tests/test_http2_connection.py:1219
Method
test_deferred_events_are_processed_without_a_read
(self)
tests/test_http2_connection.py:1814
Method
test_delay_can_be_cancelled
Long delay can be interrupted (timeout behavior).
tests/docker/asgi_framework_compat/tests/test_http_messages.py:104
Method
test_delay_endpoint
Test delayed response.
examples/http2_gevent/test_http2_gevent.py:130
Method
test_delayed_response
Test delayed response.
tests/docker/asgi_compliance/test_websocket_compliance.py:451
Method
test_delete_method
DELETE method should be parsed.
tests/test_asgi_protocol_http.py:404
Method
test_delete_method
Test DELETE method.
tests/docker/asgi_compliance/test_http_compliance.py:78
Method
test_different_cl_values_rejected
Different Content-Length values must be rejected.
tests/test_asgi_parser_validation.py:87
Method
test_different_methods
Test various HTTP methods.
tests/docker/http2/test_http2_docker.py:82
Method
test_direct_https_post_echo
Test POST echo directly to gunicorn over HTTPS.
tests/docker/asgi_compliance/test_http2_asgi.py:410
Method
test_direct_https_post_json
Test POST JSON directly to gunicorn over HTTPS.
tests/docker/asgi_compliance/test_http2_asgi.py:420
Method
test_direct_https_post_large_body
Test large POST body directly to gunicorn over HTTPS.
tests/docker/asgi_compliance/test_http2_asgi.py:432
Method
test_direct_https_request
Test direct HTTPS request to gunicorn.
tests/docker/asgi_compliance/test_http2_asgi.py:390
Method
test_direct_https_scope
Test scope from direct HTTPS connection.
tests/docker/asgi_compliance/test_http2_asgi.py:395
Method
test_direct_https_streaming
Test streaming from direct HTTPS connection.
tests/docker/asgi_compliance/test_http2_asgi.py:404
Method
test_dirty_add_no_socket
Test dirty add when socket path not available.
tests/ctl/test_handlers.py:312
Method
test_dirty_add_not_running
Test dirty add when dirty arbiter not running.
tests/ctl/test_handlers.py:302
Method
test_dirty_app_cli
Test --dirty-app CLI argument (can be repeated).
tests/test_dirty_config.py:135
Method
test_dirty_app_error
Test DirtyAppError fields.
tests/test_dirty_protocol.py:501
Method
test_dirty_apps_default
Test dirty_apps default is empty list.
tests/test_dirty_config.py:15
Method
test_dirty_apps_multiple
Test dirty_apps with multiple apps.
tests/test_dirty_config.py:26
Method
test_dirty_apps_single
Test dirty_apps with single app.
tests/test_dirty_config.py:20
Method
test_dirty_arbiter_exits_on_parent_sigkill
Dirty arbiter should exit when main arbiter is SIGKILLed. This tests the ppid detection mechanism in the dirty arbiter. When the main
tests/docker/dirty_arbiter/test_parent_death.py:293
Method
test_dirty_arbiter_respawn
Main arbiter should respawn dead dirty arbiter. When the dirty arbiter dies (e.g., killed or crashed), the main arbiter should detect
tests/docker/dirty_arbiter/test_parent_death.py:382
Method
test_dirty_error_from_dict
Test deserializing error from dict.
tests/test_dirty_protocol.py:478
Method
test_dirty_error_from_dict_unknown_type
Test deserializing unknown error type falls back to DirtyError.
tests/test_dirty_protocol.py:490
Method
test_dirty_error_to_dict
Test serializing error to dict.
tests/test_dirty_protocol.py:470
Method
test_dirty_graceful_timeout_cli
Test --dirty-graceful-timeout CLI argument.
tests/test_dirty_config.py:128
Method
test_dirty_graceful_timeout_default
Test dirty_graceful_timeout default is 30 seconds.
tests/test_dirty_config.py:82
Method
test_dirty_graceful_timeout_set
Test setting dirty_graceful_timeout.
tests/test_dirty_config.py:87
Method
test_dirty_post_fork_custom
Test setting custom dirty_post_fork hook.
tests/test_dirty_hooks.py:40
Method
test_dirty_post_fork_default
Test dirty_post_fork default is a callable.
tests/test_dirty_hooks.py:35
Method
test_dirty_post_fork_requires_callable
Test that dirty_post_fork requires a callable.
tests/test_dirty_hooks.py:105
Method
test_dirty_protocol_alias
Test that DirtyProtocol is an alias for BinaryProtocol.
tests/test_dirty_protocol.py:518
Method
test_dirty_protocol_exports_stash_type
Test DirtyProtocol exports stash type.
tests/test_dirty_stash.py:146
Method
test_dirty_remove_no_socket
Test dirty remove when socket path not available.
tests/ctl/test_handlers.py:339
Method
test_dirty_remove_not_running
Test dirty remove when dirty arbiter not running.
tests/ctl/test_handlers.py:329
Method
test_dirty_socket_env_var_set
Test that GUNICORN_DIRTY_SOCKET env var is set when dirty arbiter spawns.
tests/test_dirty_integration.py:116
Method
test_dirty_threads_cli
Test --dirty-threads CLI argument.
tests/test_dirty_config.py:121
Method
test_dirty_threads_default
Test dirty_threads default is 1.
tests/test_dirty_config.py:71
Method
test_dirty_threads_set
Test setting dirty_threads.
tests/test_dirty_config.py:76
Method
test_dirty_timeout_cli
Test --dirty-timeout CLI argument.
tests/test_dirty_config.py:114
Method
test_dirty_timeout_default
Test dirty_timeout default is 300 seconds.
tests/test_dirty_config.py:54
Method
test_dirty_timeout_set
Test setting dirty_timeout.
tests/test_dirty_config.py:59
Method
test_dirty_timeout_zero_disables
Test dirty_timeout can be set to 0 to disable.
tests/test_dirty_config.py:65
Method
test_dirty_worker_exists
Dirty arbiter should spawn dirty worker(s).
tests/docker/dirty_arbiter/test_parent_death.py:489
Method
test_dirty_worker_exit_custom
Test setting custom dirty_worker_exit hook.
tests/test_dirty_hooks.py:80
Method
test_dirty_worker_exit_default
Test dirty_worker_exit default is a callable.
tests/test_dirty_hooks.py:75
Method
test_dirty_worker_init_custom
Test setting custom dirty_worker_init hook.
tests/test_dirty_hooks.py:60
Method
test_dirty_worker_init_default
Test dirty_worker_init default is a callable.
tests/test_dirty_hooks.py:55
Method
test_dirty_worker_respawn
Dirty arbiter should respawn killed dirty workers.
tests/docker/dirty_arbiter/test_parent_death.py:500
Method
test_dirty_workers_cli
Test --dirty-workers CLI argument.
tests/test_dirty_config.py:107
Method
test_dirty_workers_default
Test dirty_workers default is 0 (disabled).
tests/test_dirty_config.py:37
Method
test_dirty_workers_invalid_negative
Test dirty_workers rejects negative values.
tests/test_dirty_config.py:48
Method
test_dirty_workers_set
Test setting dirty_workers.
tests/test_dirty_config.py:42
Method
test_disabled_by_default
(self)
tests/test_http2_h2c.py:73
Method
test_disabled_by_default_changes_nothing
(self)
tests/test_http2_h2c.py:448
Method
test_disabled_does_not_upgrade
(self, parser)
tests/test_http2_h2c.py:917
Method
test_disabled_takes_the_http1_path
(self)
tests/test_http2_h2c.py:607
Method
test_disconnect_allows_graceful_cleanup
Test that disconnect doesn't immediately cancel task. Per ASGI spec, apps should have opportunity to clean up when they receive http.
tests/test_asgi_compliance.py:792
Method
test_disconnect_does_not_cancel_immediately
Test that connection_lost doesn't cancel task immediately.
tests/test_asgi_disconnect.py:128
Method
test_disconnect_event_sent_on_connection_lost
Test that disconnect is signaled when connection is lost.
tests/test_asgi_compliance.py:760
Method
test_disconnect_event_type
Test that disconnect event signals body receiver per ASGI spec.
tests/test_asgi_compliance.py:740
Method
test_disconnect_is_idempotent
Test that connection_lost can be called multiple times safely.
tests/test_asgi_disconnect.py:79
Function
test_disconnect_listener_does_not_spin
(server, client)
tests/test_http2_live.py:338
Method
test_disconnect_message_format
Test http.disconnect message format per ASGI spec. When body is complete and disconnect is signaled, receive() should return {"type":
tests/test_asgi_compliance.py:815
Method
test_disconnect_message_minimal
http.disconnect message should be minimal.
tests/test_asgi_error_handling.py:389
Function
test_disconnect_reaches_finishing_call
(http_parser)
tests/test_asgi_keepalive_background.py:301
Method
test_disconnect_schedules_cancellation
Test that connection_lost schedules task cancellation.
tests/test_asgi_disconnect.py:145
Method
test_disconnect_sets_closed_flag
Test that connection_lost sets the closed flag.
tests/test_asgi_disconnect.py:38
Method
test_disconnect_sets_closed_flag
Test that connection_lost sets the closed flag.
tests/test_asgi_compliance.py:782
Method
test_disconnect_signals_body_receiver
Test that connection_lost signals the body receiver.
tests/test_asgi_disconnect.py:53
Method
test_divergence_is_mismatch
(self)
tests/test_http2_h2c.py:267
Method
test_diverging_bytes_rejected_immediately
First byte differs from the preface: no waiting occurs.
tests/test_http2_h2c.py:160
Function
test_do_handshake_on_connect
()
tests/test_ssl.py:51
Function
test_does_not_follow_planted_symlink
(tmp_path)
tests/test_dirty_pidfile.py:28
Function
test_dogstatsd_tags
()
tests/test_statsd.py:81
Method
test_dotted_module_with_count
mod.sub:Class:2' handles dots correctly.
tests/test_dirty_app.py:293
Method
test_double_accept_raises
Accepting twice should raise RuntimeError.
tests/test_asgi_websocket_enhanced.py:251
Function
test_drain_body
Test draining unread body.
tests/test_asgi_uwsgi.py:305
Method
test_drain_waits_while_the_transport_is_paused
(self)
tests/test_http2_h2c.py:2087
Method
test_dropping_the_body_is_logged_once
(self)
tests/test_asgi_http2_response.py:91
Method
test_duplicate_cl_rejected
Duplicate Content-Length headers must be rejected.
tests/test_asgi_parser_validation.py:74
Method
test_duplicate_content_type_rejected
(self)
tests/test_http2_request.py:785
Method
test_duplicate_rejected
(self, raw, field, http_parser)
tests/test_asgi_invalid_requests.py:119
Method
test_each_write_is_its_own_frame
(self)
tests/test_http2_response.py:32
Method
test_early_hints_103
Test 103 Early Hints message format.
tests/test_asgi_compliance.py:541
Method
test_early_hints_callback_in_environ
Verify wsgi.early_hints is added to environ.
tests/test_early_hints.py:106
Method
test_early_hints_endpoint
Test that early hints endpoint returns 200.
tests/docker/http2/test_http2_docker.py:360
Method
test_early_hints_multiple_endpoint
Test multiple early hints endpoint returns 200.
tests/docker/http2/test_http2_docker.py:366
Method
test_early_hints_not_sent_for_http10
Test that early hints are not sent for HTTP/1.0 clients.
tests/test_early_hints.py:156
Method
test_early_hints_rejects_crlf_in_header_name
Test that CRLF in header names is rejected.
tests/test_early_hints.py:249
Method
test_early_hints_rejects_crlf_in_header_value
Test that CRLF in header values is rejected (response splitting).
tests/test_early_hints.py:231
Method
test_early_hints_rejects_invalid_header_name
Test that invalid token characters in header name are rejected.
tests/test_early_hints.py:265
Method
test_early_hints_valid_headers_pass_validation
Test that valid headers still work after adding validation.
tests/test_early_hints.py:280
Method
test_early_hints_via_proxy
Test early hints through nginx proxy.
tests/docker/http2/test_http2_docker.py:372
Method
test_early_hints_with_bytes_headers
Test early hints with bytes header values.
tests/test_early_hints.py:197
← previous
next →
3,301–3,400 of 5,599, ranked by callers