MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_async_read_incomplete_header
Test async read with incomplete header.
tests/test_dirty_protocol.py:308
Methodtest_async_read_invalid_magic
Test async read rejects invalid magic.
tests/test_dirty_protocol.py:327
Methodtest_async_read_message_too_large
Test async read rejects too-large messages.
tests/test_dirty_protocol.py:339
Methodtest_async_read_write
Test async read/write with mock streams.
tests/test_dirty_protocol.py:281
Methodtest_async_read_write
Test async read/write using a unix server.
tests/ctl/test_protocol.py:200
Methodtest_async_send_informational_method_exists
Test that send_informational method exists on AsyncHTTP2Connection.
tests/test_early_hints.py:423
Methodtest_async_sse
Test async SSE streaming.
tests/docker/asgi_compliance/test_streaming_compliance.py:396
Methodtest_async_starlette
Test Starlette with async client.
tests/docker/asgi_compliance/test_framework_integration.py:460
Methodtest_async_stream_chunks
Test async streaming with iter_bytes.
tests/docker/asgi_compliance/test_streaming_compliance.py:384
Methodtest_async_stream_empty_stream
Test that empty stream (just end) works.
tests/dirty/test_client_streaming_async.py:133
Methodtest_async_stream_handles_error
Test that async stream iterator raises on error message.
tests/dirty/test_client_streaming_async.py:113
Methodtest_async_stream_many_chunks
Test async streaming with many chunks.
tests/dirty/test_client_streaming_async.py:202
Methodtest_async_stream_sends_request_on_first_iteration
Test that request is sent on first async iteration.
tests/dirty/test_client_streaming_async.py:168
Methodtest_async_stream_stops_after_exhausted
Test that async iterator stays exhausted after StopAsyncIteration.
tests/dirty/test_client_streaming_async.py:145
Methodtest_async_stream_timeout
Test that timeout during async streaming raises DirtyTimeoutError.
tests/dirty/test_client_streaming_async.py:248
Methodtest_async_stream_with_kwargs
Test async streaming with keyword arguments.
tests/dirty/test_client_streaming_async.py:220
Methodtest_async_stream_yields_chunks
Test that async stream iterator yields chunks correctly.
tests/dirty/test_client_streaming_async.py:78
Methodtest_async_stream_yields_complex_chunks
Test that async stream iterator yields complex data types.
tests/dirty/test_client_streaming_async.py:95
Methodtest_async_streaming
Test async streaming.
tests/docker/asgi_compliance/test_streaming_compliance.py:377
Functiontest_atoms_defaults
()
tests/test_logger.py:16
Functiontest_atoms_zero_bytes
()
tests/test_logger.py:41
Methodtest_authority_overrides_host_header
:authority MUST override Host header per RFC 9113 section 8.3.1.
tests/test_http2_request.py:274
Methodtest_authority_precedence_after_policy
(self)
tests/test_http2_request.py:813
Methodtest_auto_mode_tolerates_app_without_lifespan
(self)
tests/test_asgi_lifespan.py:510
Methodtest_bad_base64_is_refused
(self)
tests/test_http2_h2c.py:2333
Methodtest_bad_chunk_terminator_rejected
Non-CRLF bytes after chunk data must be rejected, not skipped.
tests/test_asgi_parser_validation.py:419
Functiontest_bad_key_gets_400
(http_parser, key)
tests/test_asgi_websocket_handshake.py:71
Functiontest_bad_request_resets_only_its_stream
(server, client)
tests/test_http2_live.py:311
Functiontest_bandwidth_toxic
(faults_stack)
tests/docker/stress/test_faults.py:33
Methodtest_base_call_dispatches_to_method
Test that base __call__ dispatches to methods.
tests/test_dirty_app.py:42
Methodtest_base_call_private_method_rejected
Test that __call__ rejects private methods.
tests/test_dirty_app.py:59
Methodtest_base_call_unknown_action
Test that __call__ raises for unknown action.
tests/test_dirty_app.py:52
Methodtest_base_class_methods_exist
Test that base class has all required methods.
tests/test_dirty_app.py:21
Methodtest_base_close_is_noop
Test that base close does nothing.
tests/test_dirty_app.py:36
Methodtest_base_init_is_noop
Test that base init does nothing.
tests/test_dirty_app.py:30
Methodtest_basic_addition
Tests that 1 + 1 always equals 2.
examples/frameworks/django/testing/testing/apps/someapp/tests.py:15
Methodtest_basic_connection
Test basic WebSocket connection.
tests/docker/asgi_compliance/test_websocket_compliance.py:33
Methodtest_basic_get_request
(self)
tests/test_http2_request.py:178
Methodtest_basic_init
(self)
tests/test_http2_stream.py:51
Methodtest_basic_initialization
(self)
tests/test_http2_async_connection.py:110
Methodtest_basic_initialization
(self)
tests/test_http2_connection.py:87
Methodtest_basic_request
Verify the server responds to basic requests.
tests/test_signal_integration.py:139
Methodtest_basic_scope_structure
Test basic HTTP scope structure.
tests/test_asgi_http_scope.py:57
Methodtest_batch_processing_streaming
Test batch image processing with streaming.
examples/celery_alternative/tests/test_integration.py:182
Methodtest_bel_rejected
(self)
tests/test_asgi_parser_validation.py:549
Methodtest_below_min_raises
Values below 16384 should raise ValueError per RFC 7540.
tests/test_http2_config.py:179
Methodtest_binary_body
Test POST with binary body containing null bytes.
tests/docker/uwsgi/test_uwsgi_integration.py:287
Methodtest_binary_data_no_encoding
Test that binary data is passed through without encoding.
tests/test_dirty_tlv.py:527
Methodtest_binary_data_roundtrip
Test binary data roundtrip through socket.
tests/test_dirty_protocol.py:261
Methodtest_binary_frame_opcode
Test binary message uses correct opcode (0x2).
tests/test_asgi_protocol_compat.py:631
Methodtest_binary_in_nested_structure
Test binary data inside nested structures.
tests/test_dirty_tlv.py:544
Methodtest_binary_message_allowed
Binary messages can contain any bytes.
tests/test_asgi_websocket_enhanced.py:50
Methodtest_binary_receive_does_not_close
Test that receiving binary doesn't unexpectedly close connection.
tests/test_asgi_protocol_compat.py:738
Methodtest_binary_send_large
Test sending large binary message (64KB).
tests/test_asgi_protocol_compat.py:615
Methodtest_binary_send_small
Test sending small binary message.
tests/test_asgi_protocol_compat.py:597
Methodtest_binary_with_null_bytes
Test binary data with embedded null bytes.
tests/test_dirty_tlv.py:536
Functiontest_bind_fd
()
tests/test_config.py:543
Methodtest_body_in_chunks
Body can arrive in multiple chunks.
tests/test_asgi_protocol_http.py:175
Methodtest_body_is_dropped
(self, method, status)
tests/test_http2_response.py:71
Methodtest_body_is_pulled_off_the_socket_as_the_app_reads
(self)
tests/test_http2_connection.py:1339
Methodtest_body_is_read_off_the_request_when_not_passed
(self)
tests/test_http2_h2c.py:2296
Functiontest_body_longer_than_content_length_is_cut
(http_parser)
tests/test_asgi_request_base.py:156
Functiontest_body_never_completing_is_bounded_by_the_window
(server, client)
tests/test_http2_live.py:216
Functiontest_body_not_taken_waits_for_app
A body that arrived in full but that the app left unread keeps the connection waiting for the call.
tests/test_asgi_keepalive_background.py:226
Functiontest_body_read_error_stops_the_connection
A body that fails to read (here a repeated singleton field in the trailers) leaves the start of the next request unknown: the parser must not
tests/test_http.py:725
Functiontest_body_read_in_pieces_reads_ahead_within_the_body
()
tests/test_http.py:257
Functiontest_body_read_uses_large_recv_calls
()
tests/test_http.py:247
Functiontest_body_read_whole_body_memory_stays_close_to_body_size
()
tests/test_http.py:284
Methodtest_body_receiver_cancellation_during_wait
receive() must propagate CancelledError, not mask it as disconnect. When the ASGI task is cancelled while receive() waits for a disconnect
tests/test_asgi_compliance.py:1066
Methodtest_body_receiver_feed_after_complete
Feeding data after body is complete should be safe.
tests/test_asgi_error_handling.py:191
Methodtest_body_receiver_handles_closed_protocol
BodyReceiver should handle protocol being closed.
tests/test_asgi_error_handling.py:143
Methodtest_body_receiver_immediate_disconnect_if_already_closed
Test that receive() immediately returns http.disconnect if already closed. If signal_disconnect() has already been called before receive(),
tests/test_asgi_compliance.py:933
Methodtest_body_receiver_multiple_signal_disconnect
Multiple signal_disconnect calls should be safe.
tests/test_asgi_error_handling.py:171
Methodtest_body_receiver_respects_protocol_closed_state
Test that receive() checks protocol._closed state. If the protocol is closed but signal_disconnect wasn't called, receive() should st
tests/test_asgi_compliance.py:959
Methodtest_body_receiver_waits_for_disconnect_after_body_finished
Test that receive() blocks after body is finished until disconnect is signaled. This tests the core regression fix: after body is complete, c
tests/test_asgi_compliance.py:885
Methodtest_bodyless_request_reads_eof_without_touching_the_socket
An upgraded or END_STREAM'd GET has no body to pull in.
tests/test_http2_request.py:167
Functiontest_bool_validation
()
tests/test_config.py:132
Methodtest_both
(self)
tests/test_http2_h2c.py:295
Methodtest_both_allows_http1_through
(self)
tests/test_http2_h2c.py:722
Methodtest_both_frameworks_available
Test both frameworks are available.
tests/docker/asgi_compliance/test_framework_integration.py:337
Methodtest_broadcast_custom_count
Test broadcast with custom count.
tests/docker/asgi_compliance/test_websocket_compliance.py:429
Methodtest_broadcast_default_count
Test broadcast with default count (3).
tests/docker/asgi_compliance/test_websocket_compliance.py:412
Methodtest_buffer_cannot_grow_past_the_preface
(self)
tests/test_http2_h2c.py:632
Methodtest_burst_requests
Test handling burst of requests.
tests/docker/asgi_compliance/test_concurrency.py:255
Functiontest_bws_before_extension_accepted
RFC 9112 section 7.1.1 allows BWS before the first ';' too.
tests/test_chunk_extension.py:110
Functiontest_bws_before_extension_accepted_gunicorn_h1c
(size_line)
tests/test_chunk_extension.py:118
Functiontest_bytearray_body_reused_by_the_app
(http_parser, framing)
tests/test_asgi_response_wire.py:298
Methodtest_bytes_after_the_preface_reach_http2
(self)
tests/test_http2_h2c.py:645
Methodtest_bytes_too_large
Test that bytes exceeding max size raises error.
tests/test_dirty_tlv.py:149
Functiontest_cacerts
()
tests/test_ssl.py:33
Methodtest_cached_query
Test cached query functionality.
examples/celery_alternative/tests/test_integration.py:275
Methodtest_cached_query_miss_then_hit
Test query caching - miss then hit.
examples/celery_alternative/tests/test_tasks.py:237
Functiontest_callable_validation
()
tests/test_config.py:208
Functiontest_callable_validation_for_string
()
tests/test_config.py:262
Methodtest_can_be_enabled
(self)
tests/test_http2_h2c.py:76
Methodtest_can_catch_as_base_error
Can catch DirtyNoWorkersAvailableError as DirtyError.
tests/test_dirty_errors.py:66
Methodtest_can_receive_in_half_closed_local
(self)
tests/test_http2_stream.py:105
Methodtest_can_receive_in_open_state
(self)
tests/test_http2_stream.py:99
Methodtest_can_send_in_half_closed_remote
(self)
tests/test_http2_stream.py:139
Methodtest_can_send_in_open_state
(self)
tests/test_http2_stream.py:133
← previousnext →2,901–3,000 of 5,599, ranked by callers