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
Function
test_prefix_nested
()
tests/test_statsd.py:184
Function
test_prefix_no_dot
()
tests/test_statsd.py:164
Method
test_preserves_unrelated_headers
(self)
tests/test_asgi_streaming.py:429
Method
test_prior_knowledge_alone_still_refuses
(self)
tests/test_http2_h2c.py:968
Method
test_prior_knowledge_only
(self)
tests/test_http2_h2c.py:285
Method
test_prior_knowledge_only_refuses
(self)
tests/test_http2_h2c.py:719
Method
test_priority_in_wsgi_environ
Test that HTTP/2 priority is added to WSGI environ.
tests/test_http2_request.py:687
Method
test_priority_not_in_environ_for_http1
Test that HTTP/1 requests don't have priority keys.
tests/test_http2_request.py:719
Method
test_priority_reflects_stream_at_request_creation
Test that priority reflects stream state when request is created.
tests/test_http2_request.py:649
Method
test_private_method_raises
Test that private methods cannot be called.
examples/celery_alternative/tests/test_tasks.py:90
Method
test_process_batch_streaming
Test batch processing with progress streaming.
examples/celery_alternative/tests/test_tasks.py:124
Function
test_property_access
()
tests/test_config.py:90
Method
test_protocol_error
(self)
tests/test_http2_errors.py:39
Method
test_protocol_error_close
Test protocol error close (1002).
tests/docker/asgi_compliance/test_websocket_compliance.py:235
Method
test_protocol_error_mid_body_cancels_the_app
(self)
tests/test_http2_h2c.py:1675
Method
test_protocol_error_sends_goaway
Test that protocol errors result in GOAWAY being sent.
tests/test_http2_async_connection.py:995
Method
test_protocol_error_sends_goaway
Test that protocol errors result in GOAWAY being sent.
tests/test_http2_connection.py:977
Method
test_protocol_tracks_closed_state
Protocol should track closed state.
tests/test_asgi_error_handling.py:56
Method
test_proxy_basic_request
Test basic request through proxy.
tests/docker/asgi_compliance/test_http_compliance.py:458
Method
test_proxy_binary
Test binary echo through proxy.
tests/docker/asgi_compliance/test_websocket_compliance.py:526
Method
test_proxy_concurrent_http
Test concurrent HTTP through proxy.
tests/docker/asgi_compliance/test_concurrency.py:350
Method
test_proxy_concurrent_websocket
Test concurrent WebSocket through proxy.
tests/docker/asgi_compliance/test_concurrency.py:363
Method
test_proxy_counter
Test counter through proxy.
tests/docker/asgi_compliance/test_lifespan_compliance.py:184
Method
test_proxy_echo
Test echo through proxy.
tests/docker/asgi_compliance/test_websocket_compliance.py:518
Method
test_proxy_fastapi
Test FastAPI through proxy.
tests/docker/asgi_compliance/test_framework_integration.py:392
Method
test_proxy_framework_root
Test framework root through proxy.
tests/docker/asgi_compliance/test_framework_integration.py:376
Method
test_proxy_headers_forwarded
Test that proxy headers are forwarded.
tests/docker/asgi_compliance/test_http_compliance.py:464
Method
test_proxy_health
Test health through proxy.
tests/docker/asgi_compliance/test_lifespan_compliance.py:171
Method
test_proxy_large_request
Test large request through proxy.
tests/docker/asgi_compliance/test_http_compliance.py:472
Method
test_proxy_large_response
Test large response through proxy.
tests/docker/asgi_compliance/test_http_compliance.py:479
Method
test_proxy_large_stream
Test large streaming through proxy.
tests/docker/asgi_compliance/test_streaming_compliance.py:327
Method
test_proxy_protocol_info_none
HTTP/2 doesn't use proxy protocol through data stream.
tests/test_http2_request.py:506
Method
test_proxy_scope
Test scope through proxy.
tests/docker/asgi_compliance/test_websocket_compliance.py:543
Method
test_proxy_slow_stream
Test slow streaming through proxy.
tests/docker/asgi_compliance/test_streaming_compliance.py:334
Method
test_proxy_sse
Test SSE through proxy.
tests/docker/asgi_compliance/test_streaming_compliance.py:320
Method
test_proxy_starlette
Test Starlette through proxy.
tests/docker/asgi_compliance/test_framework_integration.py:383
Method
test_proxy_state
Test state through proxy.
tests/docker/asgi_compliance/test_lifespan_compliance.py:177
Method
test_proxy_streaming
Test streaming through proxy.
tests/docker/asgi_compliance/test_streaming_compliance.py:314
Method
test_proxy_subprotocol
Test subprotocol through proxy.
tests/docker/asgi_compliance/test_websocket_compliance.py:535
Method
test_put_method
PUT method should be parsed.
tests/test_asgi_protocol_http.py:390
Method
test_put_method
Test PUT method.
tests/docker/asgi_compliance/test_http_compliance.py:71
Method
test_pywsgi_handler_get_environ
Test that PyWSGIHandler adds gunicorn-specific environ keys.
tests/workers/test_ggevent.py:171
Method
test_pywsgi_worker_has_handler
Test that GeventPyWSGIWorker has proper wsgi_handler.
tests/workers/test_ggevent.py:166
Method
test_pywsgi_worker_has_server_class
Test that GeventPyWSGIWorker has proper server_class.
tests/workers/test_ggevent.py:161
Method
test_query_string
Test QUERY_STRING is set correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:189
Method
test_query_string_empty
Test 'query_string' is empty bytes when no query.
tests/test_asgi_compliance.py:249
Method
test_query_string_key_present
Test 'query_string' key is present and is bytes.
tests/test_asgi_compliance.py:238
Method
test_query_with_special_characters
Test query string with special characters.
tests/test_asgi_http_scope.py:236
Method
test_query_with_unicode
Test query string with unicode (Latin-1 encodable).
tests/test_asgi_http_scope.py:246
Method
test_queue_defer_and_run
Test deferring and running callbacks.
tests/test_gthread.py:142
Method
test_queue_fileno_for_selector
Test that fileno returns a valid fd for selector registration.
tests/test_gthread.py:170
Method
test_queue_init_and_close
Test queue initialization and cleanup.
tests/test_gthread.py:131
Method
test_queue_multiple_callbacks
Test multiple callbacks are executed in order.
tests/test_gthread.py:156
Method
test_queue_nonblocking_pipe
Test that pipe is non-blocking (BSD compatibility).
tests/test_gthread.py:219
Method
test_queue_starts_empty
(self)
tests/test_http2_async_connection.py:1044
Method
test_queue_starts_empty
(self)
tests/test_http2_connection.py:1236
Method
test_queue_thread_safety
Test that defer can be called from multiple threads.
tests/test_gthread.py:186
Method
test_queued_stream_cannot_starve_the_one_being_served
(self)
tests/test_http2_connection.py:1377
Method
test_quiet_client_is_not_refused
(self)
tests/test_http2_h2c.py:974
Method
test_quiet_client_is_refused_under_prior_knowledge
(self)
tests/test_http2_h2c.py:989
Method
test_raise_and_catch_http2error
(self)
tests/test_http2_errors.py:207
Method
test_raise_and_catch_specific
(self)
tests/test_http2_errors.py:211
Method
test_raise_stream_error
(self)
tests/test_http2_errors.py:215
Method
test_rapid_close_reconnect
Test rapid close and reconnect.
tests/docker/asgi_compliance/test_websocket_compliance.py:694
Method
test_rapid_connect_disconnect
Test rapid connection and disconnection.
tests/docker/asgi_compliance/test_concurrency.py:427
Method
test_rapid_messages
Test sending messages rapidly.
tests/docker/asgi_compliance/test_websocket_compliance.py:111
Method
test_rapid_websocket_connect_disconnect
Test rapid WebSocket connect/disconnect.
tests/docker/asgi_compliance/test_concurrency.py:436
Method
test_raw_nul_rejected
(self)
tests/test_asgi_parser_validation.py:539
Method
test_raw_path_key_present
Test 'raw_path' key is present and is bytes.
tests/test_asgi_compliance.py:227
Method
test_read_all
(self)
tests/test_http2_request.py:45
Method
test_read_all_at_once
(self)
tests/test_http2_request.py:116
Method
test_read_binary_frame
Test reading a binary frame.
tests/test_asgi_protocol_compat.py:699
Method
test_read_body_chunk_multi_frame
Multiple DATA frames should each be returned as separate chunks.
tests/test_http2_stream.py:519
Method
test_read_body_chunk_returns_data
(self)
tests/test_http2_stream.py:508
Function
test_read_body_chunks
Test reading body in chunks.
tests/test_asgi_uwsgi.py:278
Method
test_read_body_in_chunks
Test reading body in multiple chunks.
tests/test_uwsgi.py:418
Method
test_read_byte_by_byte
(self)
tests/test_http2_request.py:134
Method
test_read_chunked
(self)
tests/test_http2_request.py:122
Method
test_read_connection_closed
Test reading from closed connection.
tests/test_dirty_protocol.py:252
Method
test_read_connection_closed
Test reading from closed connection.
tests/ctl/test_protocol.py:166
Method
test_read_error_raises_connection_error
(self)
tests/test_http2_async_connection.py:545
Method
test_read_exact_consumes_buffer
Test _read_exact properly consumes buffer.
tests/test_asgi_websocket_protocol.py:771
Method
test_read_exact_eof_during_wait
Test _read_exact handles EOF arriving while waiting for data.
tests/test_asgi_websocket_protocol.py:889
Method
test_read_exact_handles_incremental_data
Test _read_exact handles data arriving in chunks.
tests/test_asgi_websocket_protocol.py:817
Method
test_read_exact_multiple_feeds_before_wait
Test _read_exact when all data arrives before wait starts.
tests/test_asgi_websocket_protocol.py:874
Method
test_read_exact_race_condition
Test _read_exact handles race condition when data arrives during clear/wait gap. This tests the fix for the race condition where: 1.
tests/test_asgi_websocket_protocol.py:842
Method
test_read_exact_returns_none_on_eof
Test _read_exact returns None when EOF with insufficient data.
tests/test_asgi_websocket_protocol.py:786
Method
test_read_exact_waits_for_data
Test _read_exact waits when buffer is insufficient.
tests/test_asgi_websocket_protocol.py:798
Method
test_read_exact_with_sufficient_data
Test _read_exact returns data when buffer has enough.
tests/test_asgi_websocket_protocol.py:759
Method
test_read_large_binary_frame
Test reading a large binary frame (64KB).
tests/test_asgi_protocol_compat.py:718
Method
test_read_message_too_large
Test reading message exceeding max size.
tests/ctl/test_protocol.py:178
Method
test_read_none_size
(self)
tests/test_http2_request.py:57
Method
test_read_pulls_frames_on_demand
(self)
tests/test_http2_request.py:836
Method
test_read_timeout_is_the_idle_timeout
(self)
tests/dirty/test_client_streaming.py:266
Method
test_read_with_size
(self)
tests/test_http2_request.py:50
Method
test_read_write_message
Test read/write through socket pair.
tests/test_dirty_protocol.py:189
Method
test_read_write_message
Test read/write through socket pair.
tests/ctl/test_protocol.py:140
Method
test_read_write_with_int_id
Test read/write with integer request ID.
tests/test_dirty_protocol.py:211
Method
test_read_zero_and_negative
(self)
tests/test_http2_request.py:846
Method
test_reader_is_not_resumed_while_writing_is_paused
(self)
tests/test_http2_h2c.py:2062
← previous
next →
4,401–4,500 of 5,599, ranked by callers