MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Functiontest_http_invalid_response_header
tests whether http response headers are contains control chars
tests/test_http.py:114
Functiontest_http_invalid_response_status
The status line is 3DIGIT then an optional reason phrase (RFC 9112 4).
tests/test_http.py:666
Functiontest_http_parser
Test valid HTTP requests with both parser implementations.
tests/test_valid_requests.py:21
Functiontest_http_parser
Test invalid HTTP requests with both parser implementations.
tests/test_invalid_requests.py:35
Methodtest_http_request_message_empty_body
Test http.request message with empty body.
tests/test_asgi_compliance.py:375
Methodtest_http_request_message_format
Test http.request message format.
tests/test_asgi_compliance.py:363
Methodtest_http_request_response
Test basic HTTP request/response cycle.
tests/test_asgi_worker.py:428
Methodtest_http_response_body_format
Test http.response.body message format.
tests/test_asgi_compliance.py:402
Methodtest_http_response_body_streaming
Test http.response.body message for streaming.
tests/test_asgi_compliance.py:414
Methodtest_http_response_informational_format
Test http.response.informational message format.
tests/test_asgi_compliance.py:527
Methodtest_http_response_start_format
Test http.response.start message format.
tests/test_asgi_compliance.py:386
Functiontest_http_response_status_must_be_str
()
tests/test_http.py:680
Methodtest_http_response_trailers_message_format
Test http.response.trailers message format.
tests/test_asgi_compliance.py:622
Functiontest_http_valid_response_status
(status)
tests/test_http.py:674
Methodtest_http_version_formats
Test various HTTP version formats.
tests/test_asgi_compliance.py:178
Methodtest_http_version_key_present
Test 'http_version' key is present.
tests/test_asgi_compliance.py:164
Methodtest_https_basic_request
Test basic HTTPS request.
tests/docker/asgi_compliance/test_http_compliance.py:494
Methodtest_https_concurrent_http
Test concurrent HTTPS requests.
tests/docker/asgi_compliance/test_concurrency.py:388
Methodtest_https_concurrent_websocket
Test concurrent WebSocket over HTTPS.
tests/docker/asgi_compliance/test_concurrency.py:401
Methodtest_https_fastapi
Test FastAPI over HTTPS.
tests/docker/asgi_compliance/test_framework_integration.py:419
Methodtest_https_health
Test health over HTTPS.
tests/docker/asgi_compliance/test_lifespan_compliance.py:200
Methodtest_https_proxy_fastapi
Test FastAPI through HTTPS proxy.
tests/docker/asgi_compliance/test_framework_integration.py:435
Methodtest_https_proxy_health
Test health through HTTPS proxy.
tests/docker/asgi_compliance/test_lifespan_compliance.py:212
Methodtest_https_proxy_starlette
Test Starlette through HTTPS proxy.
tests/docker/asgi_compliance/test_framework_integration.py:428
Methodtest_https_proxy_streaming
Test streaming through HTTPS proxy.
tests/docker/asgi_compliance/test_streaming_compliance.py:363
Methodtest_https_scheme
Test scheme detection from HTTPS variable.
tests/test_uwsgi.py:154
Methodtest_https_scope_scheme
Test scope scheme is https.
tests/docker/asgi_compliance/test_http_compliance.py:499
Methodtest_https_sse
Test SSE over HTTPS.
tests/docker/asgi_compliance/test_streaming_compliance.py:357
Methodtest_https_starlette
Test Starlette over HTTPS.
tests/docker/asgi_compliance/test_framework_integration.py:410
Methodtest_https_state
Test state over HTTPS.
tests/docker/asgi_compliance/test_lifespan_compliance.py:205
Methodtest_https_streaming
Test streaming over HTTPS.
tests/docker/asgi_compliance/test_streaming_compliance.py:351
Methodtest_https_via_proxy
Test HTTPS through nginx proxy.
tests/docker/asgi_compliance/test_http_compliance.py:506
Functiontest_hup_reload_under_load
(stack)
tests/docker/stress/test_resilience.py:80
Methodtest_idle_connection_closes_after_keepalive
(self)
tests/test_http2_h2c.py:2001
Methodtest_idle_connection_gets_goaway_after_keepalive
(self)
tests/test_http2_connection.py:1979
Functiontest_idle_connection_is_closed_after_keepalive
(server, client)
tests/test_http2_live.py:264
Functiontest_idle_connection_served_after_worker_stops
(server)
tests/test_gthread_keepalive_shutdown.py:123
Functiontest_idle_keepalive_connection_is_closed
(tmp_path)
tests/test_asgi_keepalive_timeout.py:87
Methodtest_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
Methodtest_idle_timeout_does_not_close_with_a_stream_open
(self)
tests/test_http2_connection.py:2005
Methodtest_idle_timeout_resets_the_stream
(self)
tests/test_http2_async_connection.py:1499
Methodtest_image_stats
Test image worker statistics.
examples/celery_alternative/tests/test_integration.py:206
Functiontest_import
()
tests/workers/test_ggevent.py:18
Functiontest_import_app_bad
(value, exc_type, msg)
tests/test_util.py:92
Functiontest_import_app_good
(value)
tests/test_util.py:73
Functiontest_import_app_py_ext
(monkeypatch)
tests/test_util.py:99
Methodtest_import_error_raises_not_available
(self)
tests/test_http2_connection.py:1203
Methodtest_inadequate_security
(self)
tests/test_http2_errors.py:83
Functiontest_incomplete_header
Test incomplete header raises error.
tests/test_asgi_uwsgi.py:406
Methodtest_incomplete_header
Test error on incomplete header.
tests/test_uwsgi.py:217
Functiontest_incomplete_vars_block
Test incomplete vars block raises error.
tests/test_asgi_uwsgi.py:432
Methodtest_incomplete_vars_block
Test error on truncated vars block.
tests/test_uwsgi.py:226
Methodtest_info_endpoint
Test JSON info endpoint.
examples/http2_gevent/test_http2_gevent.py:101
Methodtest_informational_103_early_hints
Verify 103 Early Hints informational response.
tests/test_asgi_protocol_compat.py:261
Methodtest_informational_after_final_headers_is_refused
(self)
tests/test_http2_connection.py:1939
Functiontest_informational_after_start_is_refused
()
tests/test_asgi_response_headers.py:243
Functiontest_informational_before_start_is_written
()
tests/test_asgi_response_headers.py:234
Methodtest_informational_not_sent_to_http10
Informational responses should not be sent to HTTP/1.0 clients.
tests/test_asgi_protocol_compat.py:277
Methodtest_informational_omits_body
(self)
tests/test_asgi_streaming.py:369
Functiontest_informational_rejects_invalid_headers
(headers)
tests/test_asgi_response_headers.py:110
Methodtest_informational_response_format_100
Verify 100 Continue via informational is properly formatted.
tests/test_asgi_protocol_compat.py:244
Methodtest_inherits_from_http2error
(self)
tests/test_http2_errors.py:199
Methodtest_init
Test server initialization.
tests/ctl/test_server.py:101
Methodtest_init_attributes
Test that worker is initialized with correct attributes.
tests/test_dirty_worker.py:97
Methodtest_init_attributes
Test that arbiter is initialized with correct attributes.
tests/test_dirty_arbiter.py:101
Methodtest_init_attributes
Test that client is initialized with correct attributes.
tests/test_dirty_client.py:27
Methodtest_init_attributes
Test that client is initialized with correct attributes.
tests/ctl/test_client.py:25
Methodtest_init_empty
(self)
tests/test_http2_request.py:41
Methodtest_init_process_clears_ioloop
Test that init_process clears the current IOLoop.
tests/test_gtornado.py:77
Methodtest_init_process_patches_and_reinits
Test that init_process calls patch and reinits the hub.
tests/workers/test_ggevent.py:42
Methodtest_init_signals
Test init_signals sets up signal handlers.
tests/test_dirty_arbiter.py:562
Methodtest_init_signals_creates_queue
Verify that arbiter has a SimpleQueue for signals.
tests/test_arbiter.py:302
Methodtest_init_signals_registers_all_signals
Verify that init_signals registers handlers for all expected signals.
tests/test_arbiter.py:287
Methodtest_init_signals_setup
Test that init_signals sets up signal handlers.
tests/test_dirty_worker.py:812
Methodtest_init_with_custom_socket_path
Test initialization with custom socket path.
tests/test_dirty_arbiter.py:121
Methodtest_init_with_data
(self)
tests/test_http2_request.py:37
Methodtest_init_with_pidfile
Test initialization with pidfile parameter.
tests/test_dirty_arbiter.py:135
Methodtest_init_without_pidfile
Test initialization without pidfile parameter defaults to None.
tests/test_dirty_arbiter.py:149
Methodtest_initial_buffer_empty
Test that initial buffer is empty.
tests/test_asgi_websocket_protocol.py:694
Methodtest_initial_num_workers_from_config
num_workers should be initialized from config.
tests/dirty/test_arbiter_signals.py:32
Methodtest_initial_state
Test initial protocol state.
tests/test_asgi_websocket_protocol.py:306
Methodtest_initiate_connection
(self)
tests/test_http2_async_connection.py:143
Methodtest_initiate_connection
(self)
tests/test_http2_connection.py:118
Methodtest_initiate_connection_idempotent
(self)
tests/test_http2_async_connection.py:158
Methodtest_initiate_connection_idempotent
(self)
tests/test_http2_connection.py:132
Functiontest_inotify_extra_file_current_dir
Relative extra files in the cwd should not crash the inotify reloader.
tests/test_reload.py:78
Functiontest_inotify_watches_symlink_target_dir
Edits to a symlinked extra file happen in the target's directory.
tests/test_reload.py:179
Methodtest_instance_has_workers_attribute
Instance should have access to workers attribute.
tests/test_dirty_app.py:218
Functiontest_instrument
()
tests/test_statsd.py:92
Functiontest_instrument_accepts_zero_value
(metric_type, expected)
tests/test_statsd.py:136
Functiontest_instrument_ignores_none_value
()
tests/test_statsd.py:145
Methodtest_interleaved_request_response
Test interleaved request and response processing.
tests/test_http2_integration.py:248
Methodtest_interleaved_requests
Test interleaved request/response on HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:86
Methodtest_internal_error
(self)
tests/test_http2_errors.py:43
Methodtest_invalid_action
Test that invalid actions return appropriate errors.
examples/celery_alternative/tests/test_integration.py:426
Methodtest_invalid_chunk_size
Test invalid chunk size.
tests/test_python_protocol.py:256
Methodtest_invalid_command
Test handling invalid command.
tests/ctl/test_server.py:328
Methodtest_invalid_content_length
Test handling of invalid CONTENT_LENGTH.
tests/test_uwsgi.py:438
Functiontest_invalid_control_frame_closes_1002
RFC 6455 5.5: control frames are unfragmented, at most 125 bytes.
tests/test_asgi_websocket_enhanced.py:642
Functiontest_invalid_enviroment_variables_config
(monkeypatch, capsys)
tests/test_config.py:462
← previousnext →3,901–4,000 of 5,599, ranked by callers