MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodsetup
Check Docker is available.
tests/docker/per_app_allocation/test_per_app_e2e.py:371
Methodsetup
Check Docker is available.
tests/docker/dirty_arbiter/test_parent_death.py:284
Methodsetup
Check Docker is available.
tests/docker/dirty_arbiter/test_parent_death.py:480
Methodsetup
(self)
tests/docker/dirty_ttin_ttou/app.py:17
Methodsetup_class
Check server is available before running tests.
examples/http2_gevent/test_http2_gevent.py:52
Methodsetup_class
Check server is available.
examples/http2_gevent/test_http2_gevent.py:163
Methodsetup_class
Check server is available.
examples/http2_gevent/test_http2_gevent.py:193
Methodsetup_method
Set up test fixtures.
examples/celery_alternative/tests/test_tasks.py:24
Methodsetup_method
Set up test fixtures.
examples/celery_alternative/tests/test_tasks.py:99
Methodsetup_method
Set up test fixtures.
examples/celery_alternative/tests/test_tasks.py:165
Methodsetup_method
Set up test fixtures.
examples/celery_alternative/tests/test_tasks.py:264
Methodshould_close
(self)
gunicorn/http/message.py:478
Methodsimulate_execute
()
tests/test_dirty_errors.py:56
Methodsize_all
(self)
tests/treq.py:144
Methodsize_bytes
(self)
tests/treq.py:147
Methodsize_random
(self)
tests/treq.py:153
Methodsize_small_random
(self)
tests/treq.py:150
Methodsleep_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
Methodslow_action
An action that takes time to complete.
tests/support_dirty_app.py:84
Methodslow_app
(scope, receive, send)
tests/test_asgi_lifespan.py:365
Methodslow_client_handler
(reader, writer)
tests/test_dirty_integration.py:232
Methodslow_request
()
tests/docker/asgi_compliance/test_http2_asgi.py:96
Functionsni_callback
(socket, server_hostname, context)
examples/example_config.py:236
Functionsource
()
tests/test_asgi_body_backpressure.py:91
Functionspew
Install a trace hook which writes incredibly detailed logs about what code is being executed to stdout.
gunicorn/debug.py:58
Functionsse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:133
Functionsse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:164
Functionsse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:165
Functionsse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:125
Functionsse
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:122
Functionsse_client
Create a client for Server-Sent Events.
tests/docker/asgi_compliance/conftest.py:290
Functionsse_view
Server-Sent Events endpoint.
tests/docker/asgi_framework_compat/frameworks/django_app/views.py:91
Methodssl_config
Create a config with SSL settings.
tests/test_http2_alpn.py:142
Functionssl_context
(conf, default_ssl_context_factory)
examples/example_config.py:222
Methodssl_options
(self)
gunicorn/config.py:226
Functionssl_wrap_socket
(sock, conf)
gunicorn/sock.py:300
Functionstack
()
tests/docker/stress/conftest.py:182
Functionstarlette_echo
Echo request body.
tests/docker/asgi_compliance/apps/framework_apps.py:104
Functionstarlette_headers
Return request headers.
tests/docker/asgi_compliance/apps/framework_apps.py:109
Functionstarlette_health
Health check.
tests/docker/asgi_compliance/apps/framework_apps.py:153
Functionstarlette_homepage
Starlette homepage.
tests/docker/asgi_compliance/apps/framework_apps.py:91
Functionstarlette_json
Return JSON response.
tests/docker/asgi_compliance/apps/framework_apps.py:95
Functionstarlette_lifespan
Starlette lifespan context manager.
tests/docker/asgi_compliance/apps/framework_apps.py:161
Functionstarlette_scope
Return ASGI scope.
tests/docker/asgi_compliance/apps/framework_apps.py:113
Functionstarlette_streaming
Streaming response.
tests/docker/asgi_compliance/apps/framework_apps.py:134
Functionstarlette_websocket_endpoint
WebSocket echo endpoint.
tests/docker/asgi_compliance/apps/framework_apps.py:143
Functionstartup
Startup handler.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:27
Methodstats
Get computation statistics.
examples/dirty_example/dirty_app.py:170
Methodstats
Get worker statistics.
examples/celery_alternative/tasks.py:148
Methodstats
(self)
examples/celery_alternative/tasks.py:277
Methodstats
(self)
examples/celery_alternative/tasks.py:469
Methodstats
(self)
examples/celery_alternative/tasks.py:562
Methodstats
Return accumulated statistics. Returns: dict with call counts and totals
benchmarks/dirty_bench_app.py:197
Methodstatus_100_app
(scope, receive, send)
tests/test_asgi_protocol_compat.py:174
Functionstatus_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:112
Functionstatus_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:147
Functionstatus_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:147
Functionstatus_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:107
Functionstatus_endpoint
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:104
Functionstatus_view
Return specific HTTP status code.
tests/docker/asgi_framework_compat/frameworks/django_app/views.py:75
Methodstore
(self, key, value)
tests/support_dirty_app.py:22
Methodstream_request
(i)
tests/docker/asgi_compliance/test_http2_asgi.py:314
Functionstreaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/litestar_app/app.py:121
Functionstreaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:153
Functionstreaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:153
Functionstreaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/blacksheep_app/app.py:113
Functionstreaming
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/quart_app/app.py:110
Methodstreaming_app
(scope, receive, send)
tests/test_asgi_protocol_compat.py:1109
Methodstreaming_app_with_te
(scope, receive, send)
tests/test_asgi_protocol_compat.py:923
Methodstreaming_app_without_te
(scope, receive, send)
tests/test_asgi_protocol_compat.py:987
Functionstreaming_client
Create a client for chunked/streaming responses.
tests/docker/asgi_compliance/conftest.py:329
Methodstreaming_request
()
tests/docker/asgi_compliance/test_concurrency.py:195
Functionstreaming_view
Chunked streaming response.
tests/docker/asgi_framework_compat/frameworks/django_app/views.py:80
Methodsuccess_request
()
tests/docker/asgi_compliance/test_concurrency.py:453
Methodsync_external_data
Sync data from external source.
examples/celery_alternative/tasks.py:551
Methodsync_gen
()
tests/dirty/test_streaming_integration.py:337
Functiontable
Get a dict-like interface to a table.
gunicorn/dirty/stash.py:501
Functiontables
List all tables.
gunicorn/dirty/stash.py:496
Methodtake_lock
()
tests/test_http2_async_connection.py:1690
Methodtest_100_is_sent_before_the_body_is_pulled
(self)
tests/test_http2_connection.py:2257
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_103_strips_both_mixed_case_str
(self)
tests/test_asgi_streaming.py:402
Methodtest_1mb_response
Test 1MB response body is received correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:217
Methodtest_1xx
(self)
tests/test_asgi_streaming.py:444
Methodtest_200_allowed
(self)
tests/test_asgi_streaming.py:452
Methodtest_204
(self)
tests/test_asgi_streaming.py:441
Methodtest_204_omits_body
(self)
tests/test_asgi_streaming.py:362
Methodtest_204_strips_both_lowercase_bytes
(self)
tests/test_asgi_streaming.py:394
Methodtest_304_allowed
(self)
tests/test_asgi_streaming.py:449
Methodtest_304_keeps_content_length_strips_te
(self)
tests/test_asgi_streaming.py:410
Methodtest_304_omits_body
(self)
tests/test_asgi_streaming.py:366
Methodtest_404_has_body
(self)
tests/test_asgi_streaming.py:380
Methodtest_404_response
Test 404 Not Found response.
tests/test_http2_integration.py:300
Methodtest_500_response
Test 500 Internal Server Error response.
tests/test_http2_integration.py:331
Methodtest_a_paused_transport_stops_reading_too
A peer that stops reading gets its frames left unparsed.
tests/test_http2_h2c.py:2021
Methodtest_a_peer_that_never_reads_is_dropped_after_timeout
(self)
tests/test_http2_async_connection.py:1756
Methodtest_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
Methodtest_above_max_raises
Values above 16777215 should raise ValueError per RFC 7540.
tests/test_http2_config.py:186
← previousnext →2,701–2,800 of 5,599, ranked by callers