MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_validate_from_string
Test that string values are converted properly.
tests/test_http2_config.py:312
Methodtest_validate_hex_string
Test hex string conversion.
tests/test_http2_config.py:317
Methodtest_validate_invalid_raises
(self)
tests/test_http2_config.py:285
Methodtest_validate_max_value
RFC 7540 maximum is 16777215 (2^24 - 1).
tests/test_http2_config.py:302
Methodtest_validate_mid_range
Test a value in the middle of the valid range.
tests/test_http2_config.py:307
Methodtest_validate_min_value
RFC 7540 minimum is 16384 (2^14).
tests/test_http2_config.py:297
Methodtest_validate_multiple_protocols
(self)
tests/test_http2_config.py:273
Methodtest_validate_negative_raises
Negative values should raise ValueError.
tests/test_http2_config.py:339
Functiontest_validate_no_file
(_open)
tests/test_pidfile.py:16
Methodtest_validate_none
(self)
tests/test_http2_config.py:257
Methodtest_validate_single_protocol
(self)
tests/test_http2_config.py:269
Methodtest_validate_type_error
(self)
tests/test_http2_config.py:289
Methodtest_validate_uppercase
(self)
tests/test_http2_config.py:281
Methodtest_validate_whitespace_only
(self)
tests/test_http2_config.py:265
Methodtest_validate_with_spaces
(self)
tests/test_http2_config.py:277
Methodtest_validate_zero_raises
Zero is below minimum and should raise ValueError.
tests/test_http2_config.py:334
Methodtest_various_methods
Test parsing various HTTP methods.
tests/test_asgi_callback_parser.py:78
Methodtest_various_sizes
Test various message sizes.
tests/docker/asgi_compliance/test_websocket_compliance.py:393
Methodtest_version_endpoint
Test server protocol version.
tests/docker/http2/test_http2_docker.py:68
Methodtest_version_is_http2
(self)
tests/test_http2_request.py:469
Functiontest_version_requirement
Test that gevent 24.10.1+ is required.
tests/workers/test_ggevent.py:22
Methodtest_very_large_response_body
Very large response body endpoint works.
tests/docker/asgi_framework_compat/tests/test_http_messages.py:123
Methodtest_wait_closes_when_too_many_events_are_set_aside
A peer that withholds window credit and keeps sending frames gets ENHANCE_YOUR_CALM instead of growing the queue without end.
tests/test_http2_connection.py:1239
Methodtest_wait_for_events_handles_eintr
Test that EINTR is handled gracefully.
tests/test_gthread.py:877
Methodtest_wait_for_events_raises_other_errors
Test that non-EINTR errors are propagated.
tests/test_gthread.py:886
Methodtest_wait_for_signals_filters_wakeup_request
Verify that WAKEUP_REQUEST sentinel is filtered from results.
tests/test_arbiter.py:399
Methodtest_wait_for_signals_returns_signals
Verify that wait_for_signals returns queued signals.
tests/test_arbiter.py:386
Methodtest_wait_gives_up_when_the_connection_closes
(self)
tests/test_http2_async_connection.py:1066
Methodtest_wait_returns_when_the_receive_loop_signals
(self)
tests/test_http2_async_connection.py:1048
Methodtest_waits_for_the_whole_payload
(self, parser)
tests/test_http2_h2c.py:884
Methodtest_wakeup_puts_sentinel
Verify that wakeup puts the WAKEUP_REQUEST sentinel to the queue.
tests/test_arbiter.py:377
Functiontest_warn
(capsys)
tests/test_util.py:57
Methodtest_watchdog_detects_parent_death
Test that watchdog detects parent death.
tests/test_gtornado.py:211
Methodtest_watchdog_notifies_when_alive
Test that watchdog calls notify when alive.
tests/test_gtornado.py:200
Methodtest_web_app_can_catch_specific_error
Web app can catch DirtyNoWorkersAvailableError specifically.
tests/test_dirty_errors.py:54
Methodtest_websocket_accept_key_calculation
Test WebSocket accept key calculation per RFC 6455.
tests/test_asgi_worker.py:372
Methodtest_websocket_accept_message
Test websocket.accept message format.
tests/test_asgi_websocket_protocol.py:335
Methodtest_websocket_accept_minimal
Test minimal websocket.accept message.
tests/test_asgi_websocket_protocol.py:348
Functiontest_websocket_accept_rejects_crlf_in_header_value
()
tests/test_asgi_response_headers.py:149
Functiontest_websocket_accept_rejects_crlf_in_subprotocol
()
tests/test_asgi_response_headers.py:176
Functiontest_websocket_accept_rejects_invalid_header_name
()
tests/test_asgi_response_headers.py:163
Functiontest_websocket_accept_valid_headers_pass
()
tests/test_asgi_response_headers.py:189
Methodtest_websocket_asgi_version
Test ASGI version in WebSocket scope.
tests/test_asgi_http_scope.py:448
Methodtest_websocket_close_message
Test websocket.close message format.
tests/test_asgi_websocket_protocol.py:405
Methodtest_websocket_connect
WebSocket connection can be established.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:26
Methodtest_websocket_connect_message
Test websocket.connect message format.
tests/test_asgi_websocket_protocol.py:330
Methodtest_websocket_disconnect_message
Test websocket.disconnect message format.
tests/test_asgi_websocket_protocol.py:395
Methodtest_websocket_echo_binary
WebSocket binary echo endpoint echoes binary messages.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:60
Methodtest_websocket_echo_large_binary
WebSocket handles large binary messages.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:71
Methodtest_websocket_echo_multiple_messages
WebSocket echo handles multiple messages.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:44
Methodtest_websocket_echo_text
WebSocket echo endpoint echoes text messages.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:34
Methodtest_websocket_frame_masking
Test WebSocket frame unmasking.
tests/test_asgi_worker.py:388
Methodtest_websocket_frame_masking_empty
Test WebSocket frame unmasking with empty payload.
tests/test_asgi_worker.py:402
Methodtest_websocket_guid
Test WebSocket GUID constant.
tests/test_asgi_worker.py:357
Methodtest_websocket_guid
Test WebSocket GUID per RFC 6455 Section 1.3.
tests/test_asgi_websocket_protocol.py:27
Methodtest_websocket_no_subprotocols
Test WebSocket scope without subprotocols.
tests/test_asgi_http_scope.py:438
Methodtest_websocket_opcodes
Test WebSocket opcode constants.
tests/test_asgi_worker.py:362
Methodtest_websocket_receive_binary_message
Test websocket.receive message with binary data.
tests/test_asgi_websocket_protocol.py:364
Methodtest_websocket_receive_text_message
Test websocket.receive message with text.
tests/test_asgi_websocket_protocol.py:353
Methodtest_websocket_required_keys
Test all required keys are present in WebSocket scope.
tests/test_asgi_http_scope.py:458
Methodtest_websocket_scheme_ws
Test WebSocket scheme for HTTP.
tests/test_asgi_http_scope.py:400
Methodtest_websocket_scheme_wss
Test WebSocket scheme for HTTPS.
tests/test_asgi_http_scope.py:409
Methodtest_websocket_scope_endpoint
WebSocket scope endpoint returns scope JSON.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:86
Methodtest_websocket_scope_has_headers
WebSocket scope has headers field.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:116
Methodtest_websocket_scope_has_path
WebSocket scope has path field.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:106
Methodtest_websocket_scope_required_keys
WebSocket scope has all required keys.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:127
Methodtest_websocket_scope_type
Test WebSocket scope type.
tests/test_asgi_http_scope.py:387
Methodtest_websocket_scope_type
WebSocket scope type is 'websocket'.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:96
Methodtest_websocket_send_binary_message
Test websocket.send message with binary.
tests/test_asgi_websocket_protocol.py:385
Methodtest_websocket_send_text_message
Test websocket.send message with text.
tests/test_asgi_websocket_protocol.py:375
Methodtest_websocket_subprotocols
Test WebSocket subprotocol extraction.
tests/test_asgi_http_scope.py:418
Methodtest_websocket_upgrade_case_insensitive
Test WebSocket upgrade detection is case-insensitive.
tests/test_asgi_websocket_protocol.py:457
Methodtest_websocket_upgrade_connection_with_keep_alive
Test WebSocket upgrade with Connection: upgrade, keep-alive.
tests/test_asgi_websocket_protocol.py:470
Methodtest_weight_clamped_to_max
Test that weight is clamped to maximum of 256.
tests/test_http2_stream.py:768
Methodtest_weight_clamped_to_min
Test that weight is clamped to minimum of 1.
tests/test_http2_stream.py:757
Functiontest_what_counts_as_a_control_frame
PING, SETTINGS and empty DATA that does not end its stream count against the limit; requests, real data and stream ends do not.
tests/test_http2_live.py:352
Methodtest_whitespace_handling
(self)
tests/test_http2_config.py:41
Functiontest_whitespace_without_extension_rejected
(size_line)
tests/test_chunk_extension.py:128
Methodtest_wildcard_allow_list_trusts_any_peer
(self)
tests/test_http2_h2c.py:215
Methodtest_will_close_matches_keepalive_decision
_will_close is the inverse of the keepalive decision, case for case.
tests/test_asgi_worker.py:571
Methodtest_window_above_2_31_is_refused
(self)
tests/test_http2_h2c.py:2341
Methodtest_window_above_2_31_is_rejected
(self)
tests/test_http2_config.py:346
Methodtest_window_at_the_limit_is_accepted
(self)
tests/test_http2_config.py:351
Methodtest_window_overflow_sends_goaway
(self)
tests/test_http2_async_connection.py:949
Methodtest_window_overflow_sends_goaway
(self)
tests/test_http2_connection.py:935
Methodtest_window_size_matches_rfc
RFC 7540 default is 2^16-1 (65535).
tests/test_http2_config.py:238
Methodtest_with_trailers
(self)
tests/test_http2_request.py:437
Methodtest_with_worker_count
mod:Class:2' returns ('mod:Class', 2).
tests/test_dirty_app.py:245
Methodtest_worker_add
Test worker add command.
tests/ctl/test_server.py:300
Methodtest_worker_add_default
Test adding one worker (default).
tests/ctl/test_handlers.py:201
Methodtest_worker_add_multiple
Test adding multiple workers.
tests/ctl/test_handlers.py:215
Methodtest_worker_apps_are_distinct_instances
Test that each app is a distinct instance.
tests/dirty/test_multi_app_routing.py:141
Methodtest_worker_check_config_no_warning
Test that check_config doesn't warn with valid config.
tests/test_gthread.py:281
Methodtest_worker_check_config_warning
Test that check_config warns when keepalive impossible.
tests/test_gthread.py:269
Functiontest_worker_class
()
tests/test_config.py:72
Methodtest_worker_connections_config
Test worker_connections configuration.
tests/test_asgi_worker.py:163
Methodtest_worker_count_large
mod:Class:100' returns ('mod:Class', 100).
tests/test_dirty_app.py:257
Methodtest_worker_count_negative_raises
mod:Class:-1' raises DirtyAppError.
tests/test_dirty_app.py:269
Methodtest_worker_count_one
mod:Class:1' returns ('mod:Class', 1).
tests/test_dirty_app.py:251
Methodtest_worker_count_zero_raises
mod:Class:0' raises DirtyAppError.
tests/test_dirty_app.py:263
← previousnext →5,301–5,400 of 5,599, ranked by callers