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_http_invalid_response_header
tests whether http response headers are contains control chars
tests/test_http.py:114
Function
test_http_invalid_response_status
The status line is 3DIGIT then an optional reason phrase (RFC 9112 4).
tests/test_http.py:666
Function
test_http_parser
Test valid HTTP requests with both parser implementations.
tests/test_valid_requests.py:21
Function
test_http_parser
Test invalid HTTP requests with both parser implementations.
tests/test_invalid_requests.py:35
Method
test_http_request_message_empty_body
Test http.request message with empty body.
tests/test_asgi_compliance.py:375
Method
test_http_request_message_format
Test http.request message format.
tests/test_asgi_compliance.py:363
Method
test_http_request_response
Test basic HTTP request/response cycle.
tests/test_asgi_worker.py:428
Method
test_http_response_body_format
Test http.response.body message format.
tests/test_asgi_compliance.py:402
Method
test_http_response_body_streaming
Test http.response.body message for streaming.
tests/test_asgi_compliance.py:414
Method
test_http_response_informational_format
Test http.response.informational message format.
tests/test_asgi_compliance.py:527
Method
test_http_response_start_format
Test http.response.start message format.
tests/test_asgi_compliance.py:386
Function
test_http_response_status_must_be_str
()
tests/test_http.py:680
Method
test_http_response_trailers_message_format
Test http.response.trailers message format.
tests/test_asgi_compliance.py:622
Function
test_http_valid_response_status
(status)
tests/test_http.py:674
Method
test_http_version_formats
Test various HTTP version formats.
tests/test_asgi_compliance.py:178
Method
test_http_version_key_present
Test 'http_version' key is present.
tests/test_asgi_compliance.py:164
Method
test_https_basic_request
Test basic HTTPS request.
tests/docker/asgi_compliance/test_http_compliance.py:494
Method
test_https_concurrent_http
Test concurrent HTTPS requests.
tests/docker/asgi_compliance/test_concurrency.py:388
Method
test_https_concurrent_websocket
Test concurrent WebSocket over HTTPS.
tests/docker/asgi_compliance/test_concurrency.py:401
Method
test_https_fastapi
Test FastAPI over HTTPS.
tests/docker/asgi_compliance/test_framework_integration.py:419
Method
test_https_health
Test health over HTTPS.
tests/docker/asgi_compliance/test_lifespan_compliance.py:200
Method
test_https_proxy_fastapi
Test FastAPI through HTTPS proxy.
tests/docker/asgi_compliance/test_framework_integration.py:435
Method
test_https_proxy_health
Test health through HTTPS proxy.
tests/docker/asgi_compliance/test_lifespan_compliance.py:212
Method
test_https_proxy_starlette
Test Starlette through HTTPS proxy.
tests/docker/asgi_compliance/test_framework_integration.py:428
Method
test_https_proxy_streaming
Test streaming through HTTPS proxy.
tests/docker/asgi_compliance/test_streaming_compliance.py:363
Method
test_https_scheme
Test scheme detection from HTTPS variable.
tests/test_uwsgi.py:154
Method
test_https_scope_scheme
Test scope scheme is https.
tests/docker/asgi_compliance/test_http_compliance.py:499
Method
test_https_sse
Test SSE over HTTPS.
tests/docker/asgi_compliance/test_streaming_compliance.py:357
Method
test_https_starlette
Test Starlette over HTTPS.
tests/docker/asgi_compliance/test_framework_integration.py:410
Method
test_https_state
Test state over HTTPS.
tests/docker/asgi_compliance/test_lifespan_compliance.py:205
Method
test_https_streaming
Test streaming over HTTPS.
tests/docker/asgi_compliance/test_streaming_compliance.py:351
Method
test_https_via_proxy
Test HTTPS through nginx proxy.
tests/docker/asgi_compliance/test_http_compliance.py:506
Function
test_hup_reload_under_load
(stack)
tests/docker/stress/test_resilience.py:80
Method
test_idle_connection_closes_after_keepalive
(self)
tests/test_http2_h2c.py:2001
Method
test_idle_connection_gets_goaway_after_keepalive
(self)
tests/test_http2_connection.py:1979
Function
test_idle_connection_is_closed_after_keepalive
(server, client)
tests/test_http2_live.py:264
Function
test_idle_connection_served_after_worker_stops
(server)
tests/test_gthread_keepalive_shutdown.py:123
Function
test_idle_keepalive_connection_is_closed
(tmp_path)
tests/test_asgi_keepalive_timeout.py:87
Method
test_idle_timeout_applies_with_time_left
With a long total timeout, a short idle timeout still fires.
tests/dirty/test_client_streaming_async.py:270
Method
test_idle_timeout_does_not_close_with_a_stream_open
(self)
tests/test_http2_connection.py:2005
Method
test_idle_timeout_resets_the_stream
(self)
tests/test_http2_async_connection.py:1499
Method
test_image_stats
Test image worker statistics.
examples/celery_alternative/tests/test_integration.py:206
Function
test_import
()
tests/workers/test_ggevent.py:18
Function
test_import_app_bad
(value, exc_type, msg)
tests/test_util.py:92
Function
test_import_app_good
(value)
tests/test_util.py:73
Function
test_import_app_py_ext
(monkeypatch)
tests/test_util.py:99
Method
test_import_error_raises_not_available
(self)
tests/test_http2_connection.py:1203
Method
test_inadequate_security
(self)
tests/test_http2_errors.py:83
Function
test_incomplete_header
Test incomplete header raises error.
tests/test_asgi_uwsgi.py:406
Method
test_incomplete_header
Test error on incomplete header.
tests/test_uwsgi.py:217
Function
test_incomplete_vars_block
Test incomplete vars block raises error.
tests/test_asgi_uwsgi.py:432
Method
test_incomplete_vars_block
Test error on truncated vars block.
tests/test_uwsgi.py:226
Method
test_info_endpoint
Test JSON info endpoint.
examples/http2_gevent/test_http2_gevent.py:101
Method
test_informational_103_early_hints
Verify 103 Early Hints informational response.
tests/test_asgi_protocol_compat.py:261
Method
test_informational_after_final_headers_is_refused
(self)
tests/test_http2_connection.py:1939
Function
test_informational_after_start_is_refused
()
tests/test_asgi_response_headers.py:243
Function
test_informational_before_start_is_written
()
tests/test_asgi_response_headers.py:234
Method
test_informational_not_sent_to_http10
Informational responses should not be sent to HTTP/1.0 clients.
tests/test_asgi_protocol_compat.py:277
Method
test_informational_omits_body
(self)
tests/test_asgi_streaming.py:369
Function
test_informational_rejects_invalid_headers
(headers)
tests/test_asgi_response_headers.py:110
Method
test_informational_response_format_100
Verify 100 Continue via informational is properly formatted.
tests/test_asgi_protocol_compat.py:244
Method
test_inherits_from_http2error
(self)
tests/test_http2_errors.py:199
Method
test_init
Test server initialization.
tests/ctl/test_server.py:101
Method
test_init_attributes
Test that worker is initialized with correct attributes.
tests/test_dirty_worker.py:97
Method
test_init_attributes
Test that arbiter is initialized with correct attributes.
tests/test_dirty_arbiter.py:101
Method
test_init_attributes
Test that client is initialized with correct attributes.
tests/test_dirty_client.py:27
Method
test_init_attributes
Test that client is initialized with correct attributes.
tests/ctl/test_client.py:25
Method
test_init_empty
(self)
tests/test_http2_request.py:41
Method
test_init_process_clears_ioloop
Test that init_process clears the current IOLoop.
tests/test_gtornado.py:77
Method
test_init_process_patches_and_reinits
Test that init_process calls patch and reinits the hub.
tests/workers/test_ggevent.py:42
Method
test_init_signals
Test init_signals sets up signal handlers.
tests/test_dirty_arbiter.py:562
Method
test_init_signals_creates_queue
Verify that arbiter has a SimpleQueue for signals.
tests/test_arbiter.py:302
Method
test_init_signals_registers_all_signals
Verify that init_signals registers handlers for all expected signals.
tests/test_arbiter.py:287
Method
test_init_signals_setup
Test that init_signals sets up signal handlers.
tests/test_dirty_worker.py:812
Method
test_init_with_custom_socket_path
Test initialization with custom socket path.
tests/test_dirty_arbiter.py:121
Method
test_init_with_data
(self)
tests/test_http2_request.py:37
Method
test_init_with_pidfile
Test initialization with pidfile parameter.
tests/test_dirty_arbiter.py:135
Method
test_init_without_pidfile
Test initialization without pidfile parameter defaults to None.
tests/test_dirty_arbiter.py:149
Method
test_initial_buffer_empty
Test that initial buffer is empty.
tests/test_asgi_websocket_protocol.py:694
Method
test_initial_num_workers_from_config
num_workers should be initialized from config.
tests/dirty/test_arbiter_signals.py:32
Method
test_initial_state
Test initial protocol state.
tests/test_asgi_websocket_protocol.py:306
Method
test_initiate_connection
(self)
tests/test_http2_async_connection.py:143
Method
test_initiate_connection
(self)
tests/test_http2_connection.py:118
Method
test_initiate_connection_idempotent
(self)
tests/test_http2_async_connection.py:158
Method
test_initiate_connection_idempotent
(self)
tests/test_http2_connection.py:132
Function
test_inotify_extra_file_current_dir
Relative extra files in the cwd should not crash the inotify reloader.
tests/test_reload.py:78
Function
test_inotify_watches_symlink_target_dir
Edits to a symlinked extra file happen in the target's directory.
tests/test_reload.py:179
Method
test_instance_has_workers_attribute
Instance should have access to workers attribute.
tests/test_dirty_app.py:218
Function
test_instrument
()
tests/test_statsd.py:92
Function
test_instrument_accepts_zero_value
(metric_type, expected)
tests/test_statsd.py:136
Function
test_instrument_ignores_none_value
()
tests/test_statsd.py:145
Method
test_interleaved_request_response
Test interleaved request and response processing.
tests/test_http2_integration.py:248
Method
test_interleaved_requests
Test interleaved request/response on HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:86
Method
test_internal_error
(self)
tests/test_http2_errors.py:43
Method
test_invalid_action
Test that invalid actions return appropriate errors.
examples/celery_alternative/tests/test_integration.py:426
Method
test_invalid_chunk_size
Test invalid chunk size.
tests/test_python_protocol.py:256
Method
test_invalid_command
Test handling invalid command.
tests/ctl/test_server.py:328
Method
test_invalid_content_length
Test handling of invalid CONTENT_LENGTH.
tests/test_uwsgi.py:438
Function
test_invalid_control_frame_closes_1002
RFC 6455 5.5: control frames are unfragmented, at most 125 bytes.
tests/test_asgi_websocket_enhanced.py:642
Function
test_invalid_enviroment_variables_config
(monkeypatch, capsys)
tests/test_config.py:462
← previous
next →
3,901–4,000 of 5,599, ranked by callers