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_send_error_after_headers_resets_with_internal_error
(self)
tests/test_http2_async_connection.py:1568
Method
test_send_error_after_headers_resets_with_internal_error
(self)
tests/test_http2_connection.py:1904
Method
test_send_error_with_message
(self)
tests/test_http2_connection.py:372
Method
test_send_headers_in_half_closed_remote
(self)
tests/test_http2_stream.py:320
Method
test_send_headers_in_invalid_state
(self)
tests/test_http2_stream.py:328
Method
test_send_headers_in_open_state
(self)
tests/test_http2_stream.py:297
Method
test_send_headers_with_end_stream
(self)
tests/test_http2_stream.py:310
Method
test_send_informational_103
Test sending 103 Early Hints over HTTP/2.
tests/test_early_hints.py:360
Method
test_send_informational_invalid_status
Test send_informational raises for non-1xx status.
tests/test_early_hints.py:325
Method
test_send_informational_method_exists
Test that send_informational method exists on HTTP2ServerConnection.
tests/test_early_hints.py:314
Method
test_send_informational_stream_not_found
Test send_informational raises for non-existent stream.
tests/test_early_hints.py:403
Method
test_send_large_message
Test sending large message to server.
tests/docker/asgi_compliance/test_websocket_compliance.py:378
Method
test_send_multiple_early_hints
Test sending multiple Link headers.
tests/test_early_hints.py:137
Method
test_send_response_invalid_stream
Test that sending response on invalid stream returns False.
tests/test_http2_async_connection.py:316
Method
test_send_response_invalid_stream
Test that sending response on invalid stream returns False.
tests/test_http2_connection.py:355
Method
test_send_response_on_closed_stream
Test that send_response gracefully handles closed stream.
tests/test_http2_async_connection.py:867
Method
test_send_response_on_closed_stream
Test that send_response gracefully handles closed stream.
tests/test_http2_connection.py:863
Method
test_send_response_with_empty_body
(self)
tests/test_http2_connection.py:328
Method
test_send_shutdown_complete_sets_event
_send with shutdown.complete should set event.
tests/test_asgi_lifespan.py:431
Method
test_send_shutdown_failed_sets_error
_send with shutdown.failed should set error.
tests/test_asgi_lifespan.py:442
Method
test_send_simple_response
(self)
tests/test_http2_async_connection.py:277
Method
test_send_simple_response
(self)
tests/test_http2_connection.py:282
Method
test_send_single_early_hint
Test sending one Link header as early hint.
tests/test_early_hints.py:118
Method
test_send_single_email
Test sending a single email via API.
examples/celery_alternative/tests/test_integration.py:85
Method
test_send_startup_complete_sets_event
_send with startup.complete should set event.
tests/test_asgi_lifespan.py:407
Method
test_send_startup_failed_sets_error
_send with startup.failed should set error.
tests/test_asgi_lifespan.py:418
Method
test_send_text_message
Sending text message should work after accept.
tests/test_asgi_websocket_enhanced.py:288
Method
test_send_trailers_after_body
Test sending trailers after response body.
tests/test_http2_stream.py:809
Method
test_send_trailers_after_headers_and_body
Test sending trailers after response headers and body.
tests/test_http2_async_connection.py:658
Method
test_send_trailers_after_headers_and_body
Test sending trailers after response headers and body.
tests/test_http2_connection.py:657
Method
test_send_trailers_closes_stream
Test that trailers close the stream.
tests/test_http2_stream.py:829
Method
test_send_trailers_in_open_state
Test sending trailers in OPEN state.
tests/test_http2_stream.py:789
Method
test_send_trailers_invalid_state_raises
Test that sending trailers in invalid state raises error.
tests/test_http2_stream.py:844
Method
test_send_trailers_nonexistent_stream_returns_false
Test that sending trailers on nonexistent stream returns False.
tests/test_http2_connection.py:759
Method
test_send_trailers_pseudo_header_raises
Test that pseudo-headers in trailers raise error.
tests/test_http2_async_connection.py:707
Method
test_send_trailers_pseudo_header_raises
Test that pseudo-headers in trailers raise error.
tests/test_http2_connection.py:702
Method
test_send_trailers_without_headers_returns_false
Test that sending trailers without headers returns False.
tests/test_http2_async_connection.py:740
Method
test_send_trailers_without_headers_returns_false
Test that sending trailers without headers returns False.
tests/test_http2_connection.py:733
Function
test_send_waits_while_the_client_is_not_reading
websocket.send waits for the transport to drain, like an HTTP response, so a slow client does not grow the write buffer.
tests/test_asgi_websocket_enhanced.py:764
Method
test_sendfile_declines_even_when_enabled
(self)
tests/test_http2_response.py:97
Method
test_server_and_date_are_added
(self)
tests/test_http2_response.py:159
Method
test_server_error
Test server error response.
tests/docker/http2/test_http2_docker.py:273
Function
test_server_initiated_close_decrements_nr_conns
A close the server starts must still be counted down exactly once.
tests/test_asgi_nr_conns_shutdown.py:78
Method
test_server_initiated_close_still_decrements_nr_conns
A server-initiated close must not leak the connection count (#3661). _close_transport() sets ``_closed`` before asyncio reports the transport
tests/test_asgi_disconnect.py:106
Function
test_server_initiated_close_still_runs_full_cleanup
The counter is not the only casualty of the early return. ``connection_lost()`` also cancels the keepalive timer, feeds EOF to the reader and
tests/test_asgi_nr_conns_shutdown.py:133
Method
test_server_key_none
Test 'server' key is None when sockname not provided.
tests/test_asgi_compliance.py:323
Method
test_server_key_present
Test 'server' key is present when sockname provided.
tests/test_asgi_compliance.py:309
Method
test_server_protocol
Test SERVER_PROTOCOL is set.
tests/docker/uwsgi/test_uwsgi_integration.py:196
Method
test_set_cookie
Test setting cookies.
tests/docker/asgi_compliance/test_http_compliance.py:380
Method
test_set_custom_value
(self)
tests/test_http2_config.py:92
Method
test_set_custom_value
(self)
tests/test_http2_config.py:127
Method
test_set_custom_value
(self)
tests/test_http2_config.py:151
Method
test_set_custom_value
(self)
tests/test_http2_config.py:206
Method
test_set_from_string
(self)
tests/test_http2_config.py:97
Method
test_set_from_string
(self)
tests/test_http2_config.py:132
Method
test_set_from_string
(self)
tests/test_http2_config.py:156
Method
test_set_from_string
(self)
tests/test_http2_config.py:211
Method
test_set_get_socket_path
Test setting and getting socket path.
tests/test_dirty_client.py:119
Method
test_set_h1_and_h2
(self)
tests/test_http2_config.py:31
Method
test_set_h1_h2_order_preserved
(self)
tests/test_http2_config.py:36
Method
test_set_h1_only
(self)
tests/test_http2_config.py:21
Method
test_set_h2_only
(self)
tests/test_http2_config.py:26
Method
test_set_high_value
(self)
tests/test_http2_config.py:102
Method
test_settings_from_config
(self)
tests/test_http2_async_connection.py:126
Method
test_settings_from_config
(self)
tests/test_http2_connection.py:101
Method
test_settings_not_named_in_connection
(self)
tests/test_http2_h2c.py:705
Method
test_settings_timeout
(self)
tests/test_http2_errors.py:51
Method
test_setup_asyncio_loop
Test asyncio event loop setup.
tests/test_asgi_worker.py:192
Method
test_setup_auto_loop_falls_back_to_asyncio
Test that auto mode uses asyncio when uvloop unavailable.
tests/test_asgi_worker.py:201
Method
test_setup_patches_request_handler
Test that setup patches RequestHandler.clear.
tests/test_gtornado.py:323
Function
test_setup_reapplies_logconfig_dict
Re-running setup re-reads logconfig_dict, switching handlers (#3353).
tests/test_logger.py:141
Function
test_setup_reapplies_loglevel
Re-running setup picks up loglevel changes (#3353).
tests/test_logger.py:128
Function
test_setup_twice_does_not_stack_handlers
Re-running setup replaces our handlers instead of stacking them.
tests/test_logger.py:163
Function
test_setup_twice_does_not_stack_syslog_handlers
Re-running setup with syslog enabled must not duplicate handlers.
tests/test_logger.py:178
Method
test_setup_uvloop
Test uvloop event loop setup.
tests/test_asgi_worker.py:216
Function
test_short_response_body_closes_connection
A body shorter than the declared Content-Length must close the connection instead of keeping it alive.
tests/test_asgi_keepalive_smuggling.py:287
Method
test_should_close
Test should_close method.
tests/test_python_protocol.py:436
Function
test_should_close_connection_close
Test connection close header.
tests/test_asgi_uwsgi.py:368
Method
test_should_close_connection_close
Test Connection: close header.
tests/test_uwsgi.py:303
Method
test_should_close_connection_keepalive
Test Connection: keep-alive header.
tests/test_uwsgi.py:317
Function
test_should_close_default
Test default keepalive behavior.
tests/test_asgi_uwsgi.py:350
Method
test_should_close_default
Test default keep-alive behavior.
tests/test_uwsgi.py:293
Method
test_should_close_default_false
HTTP/2 connections are persistent by default.
tests/test_http2_request.py:391
Function
test_should_close_keepalive
Test connection keep-alive header.
tests/test_asgi_uwsgi.py:386
Function
test_should_close_sees_headers_changed_after_reading
(kind)
tests/test_asgi_request_build.py:136
Function
test_should_close_without_and_with_str_headers
(kind, raw, closes)
tests/test_asgi_request_build.py:128
Method
test_show_all_basic
Test show all command.
tests/ctl/test_handlers.py:414
Method
test_show_all_with_dirty
Test show all with dirty arbiter running.
tests/ctl/test_handlers.py:439
Method
test_show_config
Test showing config.
tests/ctl/test_handlers.py:157
Method
test_show_dirty_disabled
Test showing dirty when disabled.
tests/ctl/test_handlers.py:288
Method
test_show_listeners
Test showing listeners.
tests/ctl/test_handlers.py:182
Method
test_show_listeners_empty
Test showing listeners when none exist.
tests/ctl/test_handlers.py:172
Method
test_show_stats
Test showing stats.
tests/ctl/test_handlers.py:133
Method
test_show_stats
Test show stats command.
tests/ctl/test_server.py:250
Method
test_show_workers
Test show workers command.
tests/ctl/test_server.py:220
Method
test_show_workers_empty
Test showing workers when none exist.
tests/ctl/test_handlers.py:93
Method
test_show_workers_with_workers
Test showing workers.
tests/ctl/test_handlers.py:103
Method
test_shutdown_closes_server
Test that _shutdown closes the server.
tests/test_dirty_worker.py:564
Method
test_shutdown_closes_server
Test that _shutdown closes the server.
tests/test_dirty_arbiter.py:530
Method
test_shutdown_error_logged
Shutdown error should be logged.
tests/test_asgi_lifespan.py:333
← previous
next →
4,801–4,900 of 5,599, ranked by callers