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
Method
test_validate_from_string
Test that string values are converted properly.
tests/test_http2_config.py:312
Method
test_validate_hex_string
Test hex string conversion.
tests/test_http2_config.py:317
Method
test_validate_invalid_raises
(self)
tests/test_http2_config.py:285
Method
test_validate_max_value
RFC 7540 maximum is 16777215 (2^24 - 1).
tests/test_http2_config.py:302
Method
test_validate_mid_range
Test a value in the middle of the valid range.
tests/test_http2_config.py:307
Method
test_validate_min_value
RFC 7540 minimum is 16384 (2^14).
tests/test_http2_config.py:297
Method
test_validate_multiple_protocols
(self)
tests/test_http2_config.py:273
Method
test_validate_negative_raises
Negative values should raise ValueError.
tests/test_http2_config.py:339
Function
test_validate_no_file
(_open)
tests/test_pidfile.py:16
Method
test_validate_none
(self)
tests/test_http2_config.py:257
Method
test_validate_single_protocol
(self)
tests/test_http2_config.py:269
Method
test_validate_type_error
(self)
tests/test_http2_config.py:289
Method
test_validate_uppercase
(self)
tests/test_http2_config.py:281
Method
test_validate_whitespace_only
(self)
tests/test_http2_config.py:265
Method
test_validate_with_spaces
(self)
tests/test_http2_config.py:277
Method
test_validate_zero_raises
Zero is below minimum and should raise ValueError.
tests/test_http2_config.py:334
Method
test_various_methods
Test parsing various HTTP methods.
tests/test_asgi_callback_parser.py:78
Method
test_various_sizes
Test various message sizes.
tests/docker/asgi_compliance/test_websocket_compliance.py:393
Method
test_version_endpoint
Test server protocol version.
tests/docker/http2/test_http2_docker.py:68
Method
test_version_is_http2
(self)
tests/test_http2_request.py:469
Function
test_version_requirement
Test that gevent 24.10.1+ is required.
tests/workers/test_ggevent.py:22
Method
test_very_large_response_body
Very large response body endpoint works.
tests/docker/asgi_framework_compat/tests/test_http_messages.py:123
Method
test_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
Method
test_wait_for_events_handles_eintr
Test that EINTR is handled gracefully.
tests/test_gthread.py:877
Method
test_wait_for_events_raises_other_errors
Test that non-EINTR errors are propagated.
tests/test_gthread.py:886
Method
test_wait_for_signals_filters_wakeup_request
Verify that WAKEUP_REQUEST sentinel is filtered from results.
tests/test_arbiter.py:399
Method
test_wait_for_signals_returns_signals
Verify that wait_for_signals returns queued signals.
tests/test_arbiter.py:386
Method
test_wait_gives_up_when_the_connection_closes
(self)
tests/test_http2_async_connection.py:1066
Method
test_wait_returns_when_the_receive_loop_signals
(self)
tests/test_http2_async_connection.py:1048
Method
test_waits_for_the_whole_payload
(self, parser)
tests/test_http2_h2c.py:884
Method
test_wakeup_puts_sentinel
Verify that wakeup puts the WAKEUP_REQUEST sentinel to the queue.
tests/test_arbiter.py:377
Function
test_warn
(capsys)
tests/test_util.py:57
Method
test_watchdog_detects_parent_death
Test that watchdog detects parent death.
tests/test_gtornado.py:211
Method
test_watchdog_notifies_when_alive
Test that watchdog calls notify when alive.
tests/test_gtornado.py:200
Method
test_web_app_can_catch_specific_error
Web app can catch DirtyNoWorkersAvailableError specifically.
tests/test_dirty_errors.py:54
Method
test_websocket_accept_key_calculation
Test WebSocket accept key calculation per RFC 6455.
tests/test_asgi_worker.py:372
Method
test_websocket_accept_message
Test websocket.accept message format.
tests/test_asgi_websocket_protocol.py:335
Method
test_websocket_accept_minimal
Test minimal websocket.accept message.
tests/test_asgi_websocket_protocol.py:348
Function
test_websocket_accept_rejects_crlf_in_header_value
()
tests/test_asgi_response_headers.py:149
Function
test_websocket_accept_rejects_crlf_in_subprotocol
()
tests/test_asgi_response_headers.py:176
Function
test_websocket_accept_rejects_invalid_header_name
()
tests/test_asgi_response_headers.py:163
Function
test_websocket_accept_valid_headers_pass
()
tests/test_asgi_response_headers.py:189
Method
test_websocket_asgi_version
Test ASGI version in WebSocket scope.
tests/test_asgi_http_scope.py:448
Method
test_websocket_close_message
Test websocket.close message format.
tests/test_asgi_websocket_protocol.py:405
Method
test_websocket_connect
WebSocket connection can be established.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:26
Method
test_websocket_connect_message
Test websocket.connect message format.
tests/test_asgi_websocket_protocol.py:330
Method
test_websocket_disconnect_message
Test websocket.disconnect message format.
tests/test_asgi_websocket_protocol.py:395
Method
test_websocket_echo_binary
WebSocket binary echo endpoint echoes binary messages.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:60
Method
test_websocket_echo_large_binary
WebSocket handles large binary messages.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:71
Method
test_websocket_echo_multiple_messages
WebSocket echo handles multiple messages.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:44
Method
test_websocket_echo_text
WebSocket echo endpoint echoes text messages.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:34
Method
test_websocket_frame_masking
Test WebSocket frame unmasking.
tests/test_asgi_worker.py:388
Method
test_websocket_frame_masking_empty
Test WebSocket frame unmasking with empty payload.
tests/test_asgi_worker.py:402
Method
test_websocket_guid
Test WebSocket GUID constant.
tests/test_asgi_worker.py:357
Method
test_websocket_guid
Test WebSocket GUID per RFC 6455 Section 1.3.
tests/test_asgi_websocket_protocol.py:27
Method
test_websocket_no_subprotocols
Test WebSocket scope without subprotocols.
tests/test_asgi_http_scope.py:438
Method
test_websocket_opcodes
Test WebSocket opcode constants.
tests/test_asgi_worker.py:362
Method
test_websocket_receive_binary_message
Test websocket.receive message with binary data.
tests/test_asgi_websocket_protocol.py:364
Method
test_websocket_receive_text_message
Test websocket.receive message with text.
tests/test_asgi_websocket_protocol.py:353
Method
test_websocket_required_keys
Test all required keys are present in WebSocket scope.
tests/test_asgi_http_scope.py:458
Method
test_websocket_scheme_ws
Test WebSocket scheme for HTTP.
tests/test_asgi_http_scope.py:400
Method
test_websocket_scheme_wss
Test WebSocket scheme for HTTPS.
tests/test_asgi_http_scope.py:409
Method
test_websocket_scope_endpoint
WebSocket scope endpoint returns scope JSON.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:86
Method
test_websocket_scope_has_headers
WebSocket scope has headers field.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:116
Method
test_websocket_scope_has_path
WebSocket scope has path field.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:106
Method
test_websocket_scope_required_keys
WebSocket scope has all required keys.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:127
Method
test_websocket_scope_type
Test WebSocket scope type.
tests/test_asgi_http_scope.py:387
Method
test_websocket_scope_type
WebSocket scope type is 'websocket'.
tests/docker/asgi_framework_compat/tests/test_websocket_scope.py:96
Method
test_websocket_send_binary_message
Test websocket.send message with binary.
tests/test_asgi_websocket_protocol.py:385
Method
test_websocket_send_text_message
Test websocket.send message with text.
tests/test_asgi_websocket_protocol.py:375
Method
test_websocket_subprotocols
Test WebSocket subprotocol extraction.
tests/test_asgi_http_scope.py:418
Method
test_websocket_upgrade_case_insensitive
Test WebSocket upgrade detection is case-insensitive.
tests/test_asgi_websocket_protocol.py:457
Method
test_websocket_upgrade_connection_with_keep_alive
Test WebSocket upgrade with Connection: upgrade, keep-alive.
tests/test_asgi_websocket_protocol.py:470
Method
test_weight_clamped_to_max
Test that weight is clamped to maximum of 256.
tests/test_http2_stream.py:768
Method
test_weight_clamped_to_min
Test that weight is clamped to minimum of 1.
tests/test_http2_stream.py:757
Function
test_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
Method
test_whitespace_handling
(self)
tests/test_http2_config.py:41
Function
test_whitespace_without_extension_rejected
(size_line)
tests/test_chunk_extension.py:128
Method
test_wildcard_allow_list_trusts_any_peer
(self)
tests/test_http2_h2c.py:215
Method
test_will_close_matches_keepalive_decision
_will_close is the inverse of the keepalive decision, case for case.
tests/test_asgi_worker.py:571
Method
test_window_above_2_31_is_refused
(self)
tests/test_http2_h2c.py:2341
Method
test_window_above_2_31_is_rejected
(self)
tests/test_http2_config.py:346
Method
test_window_at_the_limit_is_accepted
(self)
tests/test_http2_config.py:351
Method
test_window_overflow_sends_goaway
(self)
tests/test_http2_async_connection.py:949
Method
test_window_overflow_sends_goaway
(self)
tests/test_http2_connection.py:935
Method
test_window_size_matches_rfc
RFC 7540 default is 2^16-1 (65535).
tests/test_http2_config.py:238
Method
test_with_trailers
(self)
tests/test_http2_request.py:437
Method
test_with_worker_count
mod:Class:2' returns ('mod:Class', 2).
tests/test_dirty_app.py:245
Method
test_worker_add
Test worker add command.
tests/ctl/test_server.py:300
Method
test_worker_add_default
Test adding one worker (default).
tests/ctl/test_handlers.py:201
Method
test_worker_add_multiple
Test adding multiple workers.
tests/ctl/test_handlers.py:215
Method
test_worker_apps_are_distinct_instances
Test that each app is a distinct instance.
tests/dirty/test_multi_app_routing.py:141
Method
test_worker_check_config_no_warning
Test that check_config doesn't warn with valid config.
tests/test_gthread.py:281
Method
test_worker_check_config_warning
Test that check_config warns when keepalive impossible.
tests/test_gthread.py:269
Function
test_worker_class
()
tests/test_config.py:72
Method
test_worker_connections_config
Test worker_connections configuration.
tests/test_asgi_worker.py:163
Method
test_worker_count_large
mod:Class:100' returns ('mod:Class', 100).
tests/test_dirty_app.py:257
Method
test_worker_count_negative_raises
mod:Class:-1' raises DirtyAppError.
tests/test_dirty_app.py:269
Method
test_worker_count_one
mod:Class:1' returns ('mod:Class', 1).
tests/test_dirty_app.py:251
Method
test_worker_count_zero_raises
mod:Class:0' raises DirtyAppError.
tests/test_dirty_app.py:263
← previous
next →
5,301–5,400 of 5,599, ranked by callers