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_run_adds_sockets_to_server
Test that run adds sockets to the server.
tests/test_gtornado.py:400
Method
test_run_async_creates_server
Test that _run_async creates Unix server.
tests/test_dirty_arbiter.py:935
Method
test_run_async_creates_socket
Test that _run_async creates Unix socket server.
tests/test_dirty_worker.py:620
Method
test_run_completes_cleanup
Test that run() properly cleans up resources on exit.
tests/test_gthread.py:1351
Method
test_run_creates_and_runs_loop
Test that run() creates and runs an event loop.
tests/test_dirty_worker.py:746
Method
test_run_creates_executor_with_threads
Test that run() creates executor with dirty_threads config.
tests/test_dirty_worker.py:1069
Method
test_run_creates_http_server
Test that run creates an HTTP server.
tests/test_gtornado.py:384
Method
test_run_creates_stream_servers
Test that run creates StreamServer instances for each socket.
tests/workers/test_ggevent.py:61
Method
test_run_handles_exception
Test that run() handles exceptions and cleans up.
tests/test_dirty_worker.py:779
Method
test_run_sets_up_callbacks
Test that run sets up periodic callbacks.
tests/test_gtornado.py:364
Method
test_run_with_ssl
Test that run configures SSL context when is_ssl is True.
tests/workers/test_ggevent.py:89
Method
test_run_without_pidfile_does_not_fail
Test that run() works when no pidfile configured.
tests/test_dirty_arbiter.py:279
Method
test_run_writes_pidfile
Test that run() writes the PID to the pidfile.
tests/test_dirty_arbiter.py:247
Function
test_same_request_as_before
(kind, raw)
tests/test_asgi_request_build.py:67
Method
test_scheduled_stats
Test scheduled worker statistics.
examples/celery_alternative/tests/test_integration.py:348
Method
test_scheme_key_present
Test 'scheme' key is present.
tests/test_asgi_compliance.py:202
Method
test_scope_asgi_version
ASGI version info should be present.
tests/test_asgi_protocol_http.py:503
Method
test_scope_asgi_version
Test ASGI version in scope.
tests/docker/asgi_compliance/test_http_compliance.py:271
Method
test_scope_asgi_version
Test scope has ASGI version.
tests/docker/asgi_compliance/test_websocket_compliance.py:305
Method
test_scope_asgi_version
Test ASGI version in scope.
tests/docker/asgi_compliance/test_http2_asgi.py:191
Method
test_scope_asgi_version_is_3
ASGI version should be 3.x.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:39
Method
test_scope_building
Test HTTP scope building.
tests/test_asgi_worker.py:631
Method
test_scope_client
Test client in scope.
tests/docker/asgi_compliance/test_http_compliance.py:325
Method
test_scope_client
Test scope has client info.
tests/docker/asgi_compliance/test_websocket_compliance.py:339
Method
test_scope_empty_query_string
Empty query string handled correctly.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:79
Method
test_scope_endpoint_returns_json
Scope endpoint returns valid JSON.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:18
Method
test_scope_has_asgi_dict
Scope has 'asgi' dict with version info.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:31
Method
test_scope_has_client
Scope has client field (may be None).
tests/docker/asgi_framework_compat/tests/test_http_scope.py:141
Method
test_scope_has_headers
Scope has headers field.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:90
Method
test_scope_has_http_version
Scope has http_version field.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:46
Method
test_scope_has_method
Scope has method field matching request method.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:53
Method
test_scope_has_path
Scope has path field matching request path.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:66
Method
test_scope_has_query_string
Scope has query_string field.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:72
Method
test_scope_has_root_path
Scope has root_path field (may be empty).
tests/docker/asgi_framework_compat/tests/test_http_scope.py:163
Method
test_scope_has_scheme
Scope has scheme field.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:59
Method
test_scope_has_server
Scope has server field.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:127
Method
test_scope_has_type_http
Scope type is 'http'.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:25
Method
test_scope_header_names_lowercase
Header names should be lowercase.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:105
Method
test_scope_headers
Test scope has headers.
tests/docker/asgi_compliance/test_websocket_compliance.py:348
Method
test_scope_headers_are_list
Test headers in scope are list of 2-tuples.
tests/docker/asgi_compliance/test_http_compliance.py:308
Method
test_scope_headers_are_lists
Each header is a list of [name, value].
tests/docker/asgi_framework_compat/tests/test_http_scope.py:97
Method
test_scope_http_version
Test HTTP version in scope.
tests/docker/asgi_compliance/test_http_compliance.py:278
Method
test_scope_http_version
Test scope has HTTP version.
tests/docker/asgi_compliance/test_websocket_compliance.py:314
Method
test_scope_method
Test method in scope.
tests/docker/asgi_compliance/test_http_compliance.py:284
Method
test_scope_method_preserved
Test HTTP method is preserved in scope.
tests/docker/asgi_compliance/test_http2_asgi.py:207
Method
test_scope_method_uppercase
Method in scope should be uppercase.
tests/test_asgi_protocol_http.py:458
Method
test_scope_path
Test path in scope.
tests/docker/asgi_compliance/test_http_compliance.py:296
Method
test_scope_path_percent_encoded
Path with special characters should be handled.
tests/test_asgi_protocol_http.py:467
Method
test_scope_path_preserved
Test path is preserved in scope.
tests/docker/asgi_compliance/test_http2_asgi.py:214
Method
test_scope_query_string
Test query string in scope.
tests/docker/asgi_compliance/test_http_compliance.py:302
Method
test_scope_query_string
Test query string in scope.
tests/docker/asgi_compliance/test_http2_asgi.py:222
Method
test_scope_query_string_bytes
Query string should be bytes.
tests/test_asgi_protocol_http.py:479
Method
test_scope_reports_http2
(self, http2_client, gunicorn_ssl_url)
tests/docker/asgi_compliance/test_http2_asgi.py:455
Method
test_scope_scheme
Test scheme in scope.
tests/docker/asgi_compliance/test_http_compliance.py:290
Method
test_scope_scheme
Test scope scheme is 'ws'.
tests/docker/asgi_compliance/test_websocket_compliance.py:322
Method
test_scope_scheme_https
Test scheme is HTTPS in scope.
tests/docker/asgi_compliance/test_http2_asgi.py:199
Method
test_scope_server
Test server in scope.
tests/docker/asgi_compliance/test_http_compliance.py:317
Method
test_scope_server
Test scope has server info.
tests/docker/asgi_compliance/test_websocket_compliance.py:330
Method
test_scope_server_info
Server info should be tuple of (host, port).
tests/test_asgi_protocol_http.py:489
Method
test_scope_server_is_tuple
Server is [host, port] list.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:133
Method
test_scope_type
Test scope type is 'http'.
tests/docker/asgi_compliance/test_http_compliance.py:264
Method
test_scope_type
Test scope type is 'websocket'.
tests/docker/asgi_compliance/test_websocket_compliance.py:297
Method
test_scope_type_http
Test scope type is HTTP.
tests/docker/asgi_compliance/test_http2_asgi.py:184
Method
test_scope_type_is_http
Scope type should be 'http'.
tests/test_asgi_protocol_http.py:449
Function
test_second_request_on_reused_connection
(server)
tests/test_asgi_keepalive_pipeline.py:112
Method
test_send_accept_sets_flag
Test that sending accept sets the accepted flag.
tests/test_asgi_websocket_protocol.py:624
Method
test_send_accept_twice_raises
Test that accepting twice raises RuntimeError.
tests/test_asgi_websocket_protocol.py:636
Function
test_send_after_close_escaping_the_app_is_not_logged_as_error
()
tests/test_asgi_websocket_enhanced.py:813
Method
test_send_after_close_raises
Test that sending after close raises RuntimeError.
tests/test_asgi_websocket_protocol.py:655
Method
test_send_after_close_raises
Sending after close should raise RuntimeError.
tests/test_asgi_websocket_enhanced.py:328
Function
test_send_after_close_raises_an_oserror_that_is_still_a_runtimeerror
ASGI 2.4: send on a closed connection raises an OSError subclass; it stays a RuntimeError for code written against older gunicorn.
tests/test_asgi_websocket_enhanced.py:793
Method
test_send_after_reset_raises_oserror
(self)
tests/test_http2_h2c.py:1848
Function
test_send_after_response_is_not_written
Nothing the call sends once its response is complete reaches the connection, which may already carry the next response.
tests/test_asgi_keepalive_background.py:335
Method
test_send_before_accept_raises
Test that sending data before accept raises RuntimeError.
tests/test_asgi_websocket_protocol.py:647
Method
test_send_before_accept_raises
Sending before accept should raise RuntimeError.
tests/test_asgi_websocket_enhanced.py:317
Method
test_send_binary_message
Sending binary message should work after accept.
tests/test_asgi_websocket_enhanced.py:303
Method
test_send_body_empty_with_chunking
Test sending empty body with chunked encoding.
tests/test_asgi_streaming.py:251
Method
test_send_body_empty_without_chunking
Test sending empty body without chunked encoding.
tests/test_asgi_streaming.py:242
Method
test_send_body_with_chunking
Test sending body with chunked encoding.
tests/test_asgi_streaming.py:231
Method
test_send_body_without_chunking
Test sending body without chunked encoding.
tests/test_asgi_streaming.py:223
Method
test_send_bulk_emails_streaming
Test bulk email sending with SSE streaming.
examples/celery_alternative/tests/test_integration.py:102
Method
test_send_bulk_emails_streaming
Test bulk email sending with progress streaming.
examples/celery_alternative/tests/test_tasks.py:51
Method
test_send_close_sets_flag
Test that sending close sets the closed flag.
tests/test_asgi_websocket_protocol.py:667
Method
test_send_command_auto_connect
Test that send_command auto-connects if not connected.
tests/ctl/test_client.py:211
Method
test_send_command_error_response
Test handling error response.
tests/ctl/test_client.py:174
Method
test_send_command_success
Test successful command send.
tests/ctl/test_client.py:138
Method
test_send_data
(self)
tests/test_http2_async_connection.py:335
Method
test_send_data_in_half_closed_remote
(self)
tests/test_http2_stream.py:358
Method
test_send_data_in_invalid_state
(self)
tests/test_http2_stream.py:366
Method
test_send_data_in_open_state
(self)
tests/test_http2_stream.py:340
Method
test_send_data_on_reset_stream
Test that send_data gracefully handles reset stream.
tests/test_http2_async_connection.py:902
Method
test_send_data_on_reset_stream
Test that send_data gracefully handles reset stream.
tests/test_http2_connection.py:893
Method
test_send_data_respects_flow_control
Test that send_data chunks data according to flow control window.
tests/test_http2_async_connection.py:821
Method
test_send_data_respects_flow_control
Test that send_data chunks data according to flow control window.
tests/test_http2_connection.py:821
Method
test_send_data_respects_zero_window
Test that send_data returns False when flow control window is 0.
tests/test_http2_async_connection.py:773
Method
test_send_data_respects_zero_window
Test that send_data returns False when flow control window is 0.
tests/test_http2_connection.py:779
Method
test_send_data_with_end_stream
(self)
tests/test_http2_stream.py:348
Method
test_send_email
Test sending a single email.
examples/celery_alternative/tests/test_tasks.py:29
Method
test_send_email_increments_counter
Test that email counter increments.
examples/celery_alternative/tests/test_tasks.py:42
Method
test_send_error
(self)
tests/test_http2_async_connection.py:388
← previous
next →
4,701–4,800 of 5,599, ranked by callers