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
setup
Check Docker is available.
tests/docker/per_app_allocation/test_per_app_e2e.py:371
Method
setup
Check Docker is available.
tests/docker/dirty_arbiter/test_parent_death.py:284
Method
setup
Check Docker is available.
tests/docker/dirty_arbiter/test_parent_death.py:480
Method
setup
(self)
tests/docker/dirty_ttin_ttou/app.py:17
Method
setup_class
Check server is available before running tests.
examples/http2_gevent/test_http2_gevent.py:52
Method
setup_class
Check server is available.
examples/http2_gevent/test_http2_gevent.py:163
Method
setup_class
Check server is available.
examples/http2_gevent/test_http2_gevent.py:193
Method
setup_method
Set up test fixtures.
examples/celery_alternative/tests/test_tasks.py:24
Method
setup_method
Set up test fixtures.
examples/celery_alternative/tests/test_tasks.py:99
Method
setup_method
Set up test fixtures.
examples/celery_alternative/tests/test_tasks.py:165
Method
setup_method
Set up test fixtures.
examples/celery_alternative/tests/test_tasks.py:264
Method
should_close
(self)
gunicorn/http/message.py:478
Method
simulate_execute
()
tests/test_dirty_errors.py:56
Method
size_all
(self)
tests/treq.py:144
Method
size_bytes
(self)
tests/treq.py:147
Method
size_random
(self)
tests/treq.py:153
Method
size_small_random
(self)
tests/treq.py:150
Method
sleep_task
Pure sleep task - tests scheduling overhead. This simulates I/O-bound work like waiting for external APIs. The thread is blo
benchmarks/dirty_bench_app.py:34
Method
slow_action
An action that takes time to complete.
tests/support_dirty_app.py:84
Method
slow_app
(scope, receive, send)
tests/test_asgi_lifespan.py:365
Method
slow_client_handler
(reader, writer)
tests/test_dirty_integration.py:232
Method
slow_request
()
tests/docker/asgi_compliance/test_http2_asgi.py:96
Function
sni_callback
(socket, server_hostname, context)
examples/example_config.py:236
Function
source
()
tests/test_asgi_body_backpressure.py:91
Function
spew
Install a trace hook which writes incredibly detailed logs about what code is being executed to stdout.
gunicorn/debug.py:58
Function
sse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:133
Function
sse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:164
Function
sse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:165
Function
sse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:125
Function
sse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:122
Function
sse_client
Create a client for Server-Sent Events.
tests/docker/asgi_compliance/conftest.py:290
Function
sse_view
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/django_app/views.py:91
Method
ssl_config
Create a config with SSL settings.
tests/test_http2_alpn.py:142
Function
ssl_context
(conf, default_ssl_context_factory)
examples/example_config.py:222
Method
ssl_options
(self)
gunicorn/config.py:226
Function
ssl_wrap_socket
(sock, conf)
gunicorn/sock.py:300
Function
stack
()
tests/docker/stress/conftest.py:182
Function
starlette_echo
Echo request body.
tests/docker/asgi_compliance/apps/framework_apps.py:104
Function
starlette_headers
Return request headers.
tests/docker/asgi_compliance/apps/framework_apps.py:109
Function
starlette_health
Health check.
tests/docker/asgi_compliance/apps/framework_apps.py:153
Function
starlette_homepage
Starlette homepage.
tests/docker/asgi_compliance/apps/framework_apps.py:91
Function
starlette_json
Return JSON response.
tests/docker/asgi_compliance/apps/framework_apps.py:95
Function
starlette_lifespan
Starlette lifespan context manager.
tests/docker/asgi_compliance/apps/framework_apps.py:161
Function
starlette_scope
Return ASGI scope.
tests/docker/asgi_compliance/apps/framework_apps.py:113
Function
starlette_streaming
Streaming response.
tests/docker/asgi_compliance/apps/framework_apps.py:134
Function
starlette_websocket_endpoint
WebSocket echo endpoint.
tests/docker/asgi_compliance/apps/framework_apps.py:143
Function
startup
Startup handler.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:27
Method
stats
Get computation statistics.
examples/dirty_example/dirty_app.py:170
Method
stats
Get worker statistics.
examples/celery_alternative/tasks.py:148
Method
stats
(self)
examples/celery_alternative/tasks.py:277
Method
stats
(self)
examples/celery_alternative/tasks.py:469
Method
stats
(self)
examples/celery_alternative/tasks.py:562
Method
stats
Return accumulated statistics. Returns: dict with call counts and totals
benchmarks/dirty_bench_app.py:197
Method
status_100_app
(scope, receive, send)
tests/test_asgi_protocol_compat.py:174
Function
status_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:112
Function
status_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:147
Function
status_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:147
Function
status_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:107
Function
status_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:104
Function
status_view
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/django_app/views.py:75
Method
store
(self, key, value)
tests/support_dirty_app.py:22
Method
stream_request
(i)
tests/docker/asgi_compliance/test_http2_asgi.py:314
Function
streaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:121
Function
streaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:153
Function
streaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:153
Function
streaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:113
Function
streaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:110
Method
streaming_app
(scope, receive, send)
tests/test_asgi_protocol_compat.py:1109
Method
streaming_app_with_te
(scope, receive, send)
tests/test_asgi_protocol_compat.py:923
Method
streaming_app_without_te
(scope, receive, send)
tests/test_asgi_protocol_compat.py:987
Function
streaming_client
Create a client for chunked/streaming responses.
tests/docker/asgi_compliance/conftest.py:329
Method
streaming_request
()
tests/docker/asgi_compliance/test_concurrency.py:195
Function
streaming_view
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/django_app/views.py:80
Method
success_request
()
tests/docker/asgi_compliance/test_concurrency.py:453
Method
sync_external_data
Sync data from external source.
examples/celery_alternative/tasks.py:551
Method
sync_gen
()
tests/dirty/test_streaming_integration.py:337
Function
table
Get a dict-like interface to a table.
gunicorn/dirty/stash.py:501
Function
tables
List all tables.
gunicorn/dirty/stash.py:496
Method
take_lock
()
tests/test_http2_async_connection.py:1690
Method
test_100_is_sent_before_the_body_is_pulled
(self)
tests/test_http2_connection.py:2257
Method
test_100_status_full_response_cycle
Full response cycle with status 100 should produce valid HTTP. This simulates what happens when Django does: return HttpResponse(
tests/test_asgi_protocol_compat.py:139
Method
test_100_status_response_format_valid
100 response via http.response.start should be valid HTTP. When a framework sends status=100 via http.response.start, gunicorn should
tests/test_asgi_protocol_compat.py:112
Method
test_100_status_should_not_add_transfer_encoding
1xx responses MUST NOT have Transfer-Encoding header. RFC 9110 Section 8.6: A server MUST NOT send a Content-Length header field in a
tests/test_asgi_protocol_compat.py:89
Method
test_103_strips_both_mixed_case_str
(self)
tests/test_asgi_streaming.py:402
Method
test_1mb_response
Test 1MB response body is received correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:217
Method
test_1xx
(self)
tests/test_asgi_streaming.py:444
Method
test_200_allowed
(self)
tests/test_asgi_streaming.py:452
Method
test_204
(self)
tests/test_asgi_streaming.py:441
Method
test_204_omits_body
(self)
tests/test_asgi_streaming.py:362
Method
test_204_strips_both_lowercase_bytes
(self)
tests/test_asgi_streaming.py:394
Method
test_304_allowed
(self)
tests/test_asgi_streaming.py:449
Method
test_304_keeps_content_length_strips_te
(self)
tests/test_asgi_streaming.py:410
Method
test_304_omits_body
(self)
tests/test_asgi_streaming.py:366
Method
test_404_has_body
(self)
tests/test_asgi_streaming.py:380
Method
test_404_response
Test 404 Not Found response.
tests/test_http2_integration.py:300
Method
test_500_response
Test 500 Internal Server Error response.
tests/test_http2_integration.py:331
Method
test_a_paused_transport_stops_reading_too
A peer that stops reading gets its frames left unparsed.
tests/test_http2_h2c.py:2021
Method
test_a_peer_that_never_reads_is_dropped_after_timeout
(self)
tests/test_http2_async_connection.py:1756
Method
test_a_stalled_drain_does_not_hold_the_lock
The receive loop keeps running while a stream waits on the transport.
tests/test_http2_async_connection.py:1663
Method
test_above_max_raises
Values above 16777215 should raise ValueError per RFC 7540.
tests/test_http2_config.py:186
← previous
next →
2,701–2,800 of 5,599, ranked by callers