MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_encode_special_characters_in_pattern
Test encoding with special characters in pattern.
tests/test_dirty_stash.py:198
Methodtest_encode_stash_message
Test binary encoding of stash message.
tests/test_dirty_stash.py:62
Methodtest_encode_unicode_table_name
Test encoding with unicode table name.
tests/test_dirty_stash.py:173
Methodtest_encode_unsupported_type
Test encoding unsupported type raises error.
tests/test_dirty_tlv.py:461
Methodtest_end_stream_delegates_to_send_data
(self)
tests/test_http2_connection.py:2148
Methodtest_end_stream_on_data_wakes_reader
(self)
tests/test_http2_stream.py:867
Methodtest_end_stream_on_headers_completes_the_body
(self)
tests/test_http2_stream.py:496
Methodtest_end_stream_on_headers_wakes_reader
(self)
tests/test_http2_stream.py:858
Methodtest_end_stream_on_unknown_stream
(self)
tests/test_http2_connection.py:1296
Methodtest_end_stream_sets_the_flag
(self)
tests/test_http2_connection.py:1280
Methodtest_end_stream_with_trailers_sends_trailers
(self)
tests/test_http2_connection.py:1289
Methodtest_enhance_your_calm
(self)
tests/test_http2_errors.py:79
Methodtest_enqueue_req_submits_to_pool
Test that enqueue_req properly submits to thread pool.
tests/test_gthread.py:866
Functiontest_env_vars_available_during_preload
Ensure that configured environmental variables are set during the initial set up of the application (called from the .setup() method of the Ar
tests/test_arbiter.py:269
Methodtest_environ_http_headers
Test HTTP headers in environ.
tests/test_asgi_http_scope.py:748
Methodtest_environ_path_info
Test PATH_INFO in environ.
tests/test_asgi_http_scope.py:699
Methodtest_environ_query_string
Test QUERY_STRING in environ.
tests/test_asgi_http_scope.py:708
Methodtest_environ_raw_uri
Test RAW_URI in environ.
tests/test_asgi_http_scope.py:690
Methodtest_environ_remote_addr
Test REMOTE_ADDR in environ.
tests/test_asgi_http_scope.py:726
Methodtest_environ_remote_addr_missing
Test REMOTE_ADDR when peername is None.
tests/test_asgi_http_scope.py:739
Methodtest_environ_request_method
Test REQUEST_METHOD in environ.
tests/test_asgi_http_scope.py:677
Methodtest_environ_server_protocol
Test SERVER_PROTOCOL in environ.
tests/test_asgi_http_scope.py:717
Methodtest_eof_before_the_preface_completes
(self)
tests/test_http2_h2c.py:315
Functiontest_eof_reader_read
()
tests/test_http.py:311
Functiontest_eof_reader_read_invalid_size
()
tests/test_http.py:324
Methodtest_eof_wakes_a_window_waiter
(self)
tests/test_http2_async_connection.py:1522
Methodtest_error_chaining
(self)
tests/test_http2_errors.py:220
Methodtest_error_codes
Test various HTTP error codes are returned correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:151
Methodtest_error_contains_app_path
Error includes the app_path.
tests/test_dirty_errors.py:18
Methodtest_error_in_execute_sends_error
Test that error in execute sends error response.
tests/dirty/test_worker_streaming.py:266
Methodtest_error_is_dirty_error_subclass
DirtyNoWorkersAvailableError is a DirtyError subclass.
tests/test_dirty_errors.py:49
Methodtest_error_mid_stream
Test that errors during streaming are properly forwarded.
tests/dirty/test_streaming_integration.py:205
Functiontest_error_response_reason_and_body
(status, reason)
tests/test_asgi_parse_error_response.py:98
Methodtest_error_response_still_works
Test that error responses still work.
tests/dirty/test_streaming_integration.py:279
Methodtest_error_serialization_roundtrip
Error survives to_dict/from_dict cycle.
tests/test_dirty_errors.py:34
Methodtest_error_with_custom_message
Error can have a custom message.
tests/test_dirty_errors.py:25
Methodtest_established_stream_is_answered_then_connection_closes
(self)
tests/test_http2_connection.py:1569
Methodtest_etl_pipeline_streaming
Test ETL pipeline with streaming progress.
examples/celery_alternative/tests/test_integration.py:241
Methodtest_etl_pipeline_streaming
Test ETL pipeline with progress streaming.
examples/celery_alternative/tests/test_tasks.py:205
Methodtest_every_frame_reaches_the_app
(self)
tests/test_http2_h2c.py:1176
Methodtest_exact_content_length_body
Body matching Content-Length should be accepted.
tests/test_asgi_protocol_http.py:144
Methodtest_execute_app_not_found
Test execution with unknown app.
tests/test_dirty_worker.py:217
Methodtest_execute_no_timeout_when_zero
Test that timeout is disabled when dirty_timeout is 0.
tests/test_dirty_worker.py:1031
Methodtest_execute_success
Test successful execution.
tests/test_dirty_worker.py:189
Methodtest_execute_with_socket_pair
Test execute using a socket pair to simulate server.
tests/test_dirty_client.py:279
Methodtest_execute_with_timeout
Test that execute enforces timeout.
tests/test_dirty_worker.py:952
Methodtest_execute_within_timeout
Test that execute succeeds within timeout.
tests/test_dirty_worker.py:992
Methodtest_expect_100_continue
Test Expect: 100-continue detection.
tests/test_python_protocol.py:473
Methodtest_expect_100_continue_is_answered_before_the_body_is_read
(self)
tests/test_http2_h2c.py:1966
Methodtest_expect_100_continue_sets_flag
(self, parser_name)
tests/test_header_policy_parity.py:50
Functiontest_expect_continue_detected_by_both_parsers
(kind)
tests/test_asgi_request_build.py:76
Methodtest_expect_continue_header_accepted
Expect: 100-continue header should be accepted.
tests/test_asgi_protocol_http.py:106
Methodtest_expect_continue_never_set_on_http2
(self)
tests/test_http2_request.py:809
Methodtest_expect_header_case_insensitive
Expect header value should be case-insensitive.
tests/test_asgi_protocol_http.py:121
Methodtest_expect_ignored_in_http10
(self, parser_name)
tests/test_header_policy_parity.py:74
Methodtest_expect_unknown_value_rejected
(self, parser_name)
tests/test_header_policy_parity.py:62
Functiontest_expect_value_is_case_insensitive
(http_parser)
tests/test_asgi_expect_continue.py:78
Functiontest_extra_files_and_patterns_are_separated
(tmp_path)
tests/test_reload.py:127
Functiontest_extra_patterns_expand_on_every_call
Files created after startup are picked up without a restart.
tests/test_reload.py:107
Methodtest_extract_pseudo_headers
(self)
tests/test_http2_stream.py:542
Methodtest_extract_regular_headers
(self)
tests/test_http2_stream.py:577
Methodtest_failed_end_stream_raises
(self)
tests/test_http2_response.py:149
Methodtest_failed_send_data_raises_stream_error
(self)
tests/test_http2_response.py:122
Methodtest_falls_back_when_xdg_runtime_dir_not_exists
When XDG_RUNTIME_DIR is set but doesn't exist, fall back to home.
tests/test_config.py:603
Methodtest_falls_back_when_xdg_runtime_dir_not_set
When XDG_RUNTIME_DIR is not set, use home directory.
tests/test_config.py:610
Methodtest_fastapi_echo
Test FastAPI echo endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:202
Methodtest_fastapi_headers
Test FastAPI headers endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:216
Methodtest_fastapi_health
Test FastAPI health endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:239
Methodtest_fastapi_homepage
Test FastAPI homepage.
tests/docker/asgi_compliance/test_framework_integration.py:174
Methodtest_fastapi_json
Test FastAPI JSON response.
tests/docker/asgi_compliance/test_framework_integration.py:183
Methodtest_fastapi_json_query_params
Test FastAPI query parameters.
tests/docker/asgi_compliance/test_framework_integration.py:192
Methodtest_fastapi_scope
Test FastAPI scope endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:229
Methodtest_fastapi_streaming
Test FastAPI streaming response.
tests/docker/asgi_compliance/test_framework_integration.py:288
Methodtest_fastapi_streaming_chunks
Test FastAPI streaming returns multiple chunks.
tests/docker/asgi_compliance/test_framework_integration.py:296
Methodtest_fastapi_websocket_echo
Test FastAPI WebSocket echo.
tests/docker/asgi_compliance/test_framework_integration.py:316
Methodtest_feed_data_adds_to_buffer
Test that feed_data adds bytes to buffer.
tests/test_asgi_websocket_protocol.py:700
Methodtest_feed_data_ignores_empty
Test that feed_data ignores empty data.
tests/test_asgi_websocket_protocol.py:710
Methodtest_feed_data_sets_event
Test that feed_data sets the data event.
tests/test_asgi_websocket_protocol.py:720
Methodtest_feed_eof_sets_event
Test that feed_eof sets the data event.
tests/test_asgi_websocket_protocol.py:736
Methodtest_feed_eof_sets_flag
Test that feed_eof sets the EOF flag.
tests/test_asgi_websocket_protocol.py:728
Functiontest_file_wrapper_iterable
FileWrapper should support the iterator protocol per PEP 3333.
tests/test_http.py:433
Functiontest_finish_body_applies_cap_only_under_deadline
When a deadline is set and max_bytes is left at the default, the implicit _DRAIN_MAX_BYTES cap kicks in to defend against a slow client trickl
tests/test_http.py:392
Functiontest_finish_body_drains_remainder
()
tests/test_http.py:350
Methodtest_finish_body_handles_ssl_want_read_error
Test that finish_body() handles SSLWantReadError gracefully. When discarding unread body data on SSL connections, the socket may rais
tests/test_gthread.py:1580
Functiontest_finish_body_no_cap_without_deadline
Without a deadline, finish_body MUST drain the full body even when it exceeds _DRAIN_MAX_BYTES. The byte cap only applies under a deadline. R
tests/test_http.py:373
Methodtest_finish_body_normal_operation
Test that finish_body() works normally when no SSL error occurs.
tests/test_gthread.py:1662
Methodtest_finish_body_reads_all_data_before_ssl_error
Test that finish_body() reads all available data before SSLWantReadError.
tests/test_gthread.py:1622
Functiontest_finish_body_returns_false_on_expired_deadline
()
tests/test_http.py:411
Functiontest_finish_body_returns_false_when_byte_cap_exceeded
()
tests/test_http.py:362
Methodtest_finish_request_buffered_request
Read-ahead after a body drain must not wait for socket readiness.
tests/test_gthread.py:470
Methodtest_finish_request_buffered_shutdown
A stopping worker still serves a request already read ahead on a connection whose response announced keep-alive (#3821).
tests/test_gthread.py:498
Methodtest_finish_request_cancelled
Test handling of cancelled future.
tests/test_gthread.py:436
Methodtest_finish_request_close
Test handling of non-keepalive response.
tests/test_gthread.py:559
Methodtest_finish_request_close_shutdown
A response that announced close still closes on shutdown.
tests/test_gthread.py:543
Methodtest_finish_request_exception
Test handling of exception in request.
tests/test_gthread.py:574
Methodtest_finish_request_handles_defer
Test finish_request puts deferred connections back on poller.
tests/test_gthread.py:1819
Methodtest_finish_request_handles_future_exception
Test that finish_request handles exceptions from futures.
tests/test_gthread.py:850
Methodtest_finish_request_keepalive
Test handling of keepalive response.
tests/test_gthread.py:450
Methodtest_finish_request_keepalive_shutdown
A stopping worker keeps a connection whose response announced keep-alive, so the next request is served (#3821).
tests/test_gthread.py:517
Functiontest_finishing_calls_are_bounded
(http_parser)
tests/test_asgi_keepalive_background.py:255
← previousnext →3,501–3,600 of 5,599, ranked by callers