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_connection_without_pump_reads_what_is_held
The ASGI path never reads through HTTP2Body; it must not block.
tests/test_http2_request.py:881
Method
test_connections_tracked_during_signal
Test that connection count is correct during signal handling.
tests/test_gthread.py:1446
Method
test_content_length
Test CONTENT_LENGTH is set for POST requests.
tests/docker/uwsgi/test_uwsgi_integration.py:204
Method
test_content_length_body
Parse request with Content-Length body.
tests/test_asgi_callback_parser.py:177
Method
test_content_length_case_insensitive
Test Content-Length detection is case-insensitive.
tests/test_asgi_streaming.py:306
Method
test_content_length_incremental
Parse body arriving in multiple chunks.
tests/test_asgi_callback_parser.py:198
Method
test_content_length_invalid_value
(self)
tests/test_http2_request.py:343
Method
test_content_length_none_when_missing
(self)
tests/test_http2_request.py:331
Method
test_content_length_property
(self)
tests/test_http2_request.py:318
Method
test_content_length_response
Test Content-Length in response.
tests/docker/asgi_compliance/test_http_compliance.py:251
Method
test_content_type_header
Test Content-Type header on POST.
tests/docker/asgi_compliance/test_http_compliance.py:231
Method
test_content_type_header
Response has Content-Type header.
tests/docker/asgi_framework_compat/tests/test_http_messages.py:88
Method
test_content_type_header
Test Content-Type header is passed correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:94
Method
test_content_type_multipart
Multipart Content-Type should work.
tests/test_asgi_header_security.py:361
Method
test_content_type_none_when_missing
(self)
tests/test_http2_request.py:369
Method
test_content_type_property
(self)
tests/test_http2_request.py:356
Method
test_content_type_response
Test Content-Type in response.
tests/docker/asgi_compliance/test_http_compliance.py:246
Method
test_content_type_with_charset
Content-Type with charset parameter should work.
tests/test_asgi_header_security.py:347
Method
test_context_manager_connection_error
Test context manager with connection error.
tests/ctl/test_client.py:108
Method
test_context_manager_success
Test successful context manager usage.
tests/ctl/test_client.py:116
Function
test_continue_sent_before_the_body
(http_parser)
tests/test_asgi_expect_continue.py:63
Function
test_continue_with_chunked_body
(http_parser)
tests/test_asgi_expect_continue.py:143
Method
test_control_character_in_a_value_resets_only_that_stream
(self)
tests/test_http2_connection.py:2179
Method
test_control_character_in_value_rejected
(self)
tests/test_http2_request.py:795
Method
test_control_frame_during_fragmentation
Test that control frames (ping) can arrive during fragmented message. RFC 6455 Section 5.4: Control frames MAY be injected in the middle
tests/test_asgi_websocket_protocol.py:1006
Function
test_control_frame_flood_closes_with_enhance_your_calm
More PING frames than the limit allows close the connection with GOAWAY(ENHANCE_YOUR_CALM), the same answer as a RST_STREAM flood.
tests/test_http2_live.py:294
Method
test_control_frame_max_payload_125_bytes
Control frames have max payload of 125 bytes (RFC 6455).
tests/test_asgi_websocket_enhanced.py:31
Method
test_control_socket_after_sighup
Verify control socket still works after SIGHUP reload.
tests/test_control_socket_integration.py:355
Method
test_counter_endpoint
Test counter endpoint.
tests/docker/asgi_compliance/test_lifespan_compliance.py:125
Method
test_counter_increments
Counter increments on each request.
tests/docker/asgi_framework_compat/tests/test_lifespan_scope.py:52
Method
test_counter_increments_multiple_times
Test counter increments across multiple requests.
tests/docker/asgi_compliance/test_lifespan_compliance.py:133
Method
test_counter_initial_value
Counter starts at expected initial value.
tests/docker/asgi_framework_compat/tests/test_lifespan_scope.py:41
Method
test_create_item
Test FastAPI create item endpoint.
tests/docker/asgi_compliance/test_framework_integration.py:271
Function
test_create_sockets_does_not_relisten_inherited_socket
()
tests/test_sock.py:32
Function
test_create_sockets_listens_on_bind_fd
()
tests/test_sock.py:49
Function
test_create_sockets_listens_when_acceptconn_unsupported
If the platform cannot report SO_ACCEPTCONN, listen() as before.
tests/test_sock.py:66
Function
test_create_sockets_unix_bytes
(stat)
tests/test_sock.py:12
Function
test_create_sockets_unix_strings
(stat)
tests/test_sock.py:23
Method
test_creates_parent_directory
Test that server creates parent directory if it doesn't exist.
tests/ctl/test_server.py:419
Method
test_credit_after_close_is_dropped
(self)
tests/test_http2_connection.py:1714
Method
test_credit_after_close_or_failure_is_dropped
(self)
tests/test_http2_async_connection.py:1234
Method
test_credit_failure_is_swallowed
(self)
tests/test_http2_connection.py:1725
Function
test_crlf_request_still_parses
()
tests/test_bare_lf.py:68
Method
test_custom_error_code
(self)
tests/test_http2_errors.py:136
Method
test_custom_headers
Test custom headers are passed to the application.
tests/docker/uwsgi/test_uwsgi_integration.py:72
Function
test_custom_hooks_called_default_post_request_skipped
(http_parser)
tests/test_asgi_request_base.py:116
Function
test_custom_logger_class_keeps_default_pre_request
()
tests/test_asgi_config_cache.py:163
Method
test_custom_message
(self)
tests/test_http2_errors.py:131
Method
test_custom_message
(self)
tests/test_http2_errors.py:195
Function
test_custom_pre_request_always_called
()
tests/test_asgi_config_cache.py:156
Method
test_custom_priority_values
Test that request inherits custom stream priority.
tests/test_http2_request.py:627
Method
test_custom_window_size
(self)
tests/test_http2_stream.py:66
Method
test_daily_report
Test daily report generation.
examples/celery_alternative/tests/test_integration.py:327
Method
test_data_and_trailers_for_a_cleaned_up_stream_are_ignored
(self)
tests/test_http2_async_connection.py:1212
Method
test_data_and_trailers_for_a_cleaned_up_stream_are_ignored
(self)
tests/test_http2_connection.py:1704
Method
test_data_stats
Test data worker statistics.
examples/celery_alternative/tests/test_integration.py:302
Method
test_data_then_trailers
(self)
tests/test_http2_async_connection.py:1398
Method
test_decode_dict_non_string_key_in_data
Test decoding dict with non-string key raises error.
tests/test_dirty_tlv.py:473
Method
test_decode_empty_data
Test decoding empty data raises error.
tests/test_dirty_tlv.py:382
Method
test_decode_full_simple
Test decode_full with simple value.
tests/test_dirty_tlv.py:362
Method
test_decode_full_trailing_data
Test decode_full raises on trailing data.
tests/test_dirty_tlv.py:370
Method
test_decode_header
Test header decoding.
tests/test_dirty_protocol.py:55
Method
test_decode_header_invalid_magic
Test header decoding with invalid magic.
tests/test_dirty_protocol.py:63
Method
test_decode_header_invalid_type
Test header decoding with invalid message type.
tests/test_dirty_protocol.py:77
Method
test_decode_header_invalid_version
Test header decoding with invalid version.
tests/test_dirty_protocol.py:70
Method
test_decode_header_too_large
Test header decoding rejects too-large messages.
tests/test_dirty_protocol.py:84
Method
test_decode_header_too_short
Test header decoding with too-short data.
tests/test_dirty_protocol.py:92
Method
test_decode_invalid_utf8
Test decoding invalid UTF-8 raises error.
tests/test_dirty_tlv.py:432
Method
test_decode_message_incomplete
Test decoding incomplete message.
tests/ctl/test_protocol.py:62
Method
test_decode_message_simple
Test decoding a simple message.
tests/ctl/test_protocol.py:46
Method
test_decode_message_too_short
Test decoding message that's too short.
tests/ctl/test_protocol.py:56
Method
test_decode_multiple_values
Test decoding multiple consecutive values.
tests/test_dirty_tlv.py:504
Method
test_decode_truncated_bytes_data
Test decoding truncated bytes data raises error.
tests/test_dirty_tlv.py:410
Method
test_decode_truncated_bytes_length
Test decoding truncated bytes length raises error.
tests/test_dirty_tlv.py:403
Method
test_decode_truncated_dict_count
Test decoding truncated dict count raises error.
tests/test_dirty_tlv.py:447
Method
test_decode_truncated_float
Test decoding truncated float raises error.
tests/test_dirty_tlv.py:396
Method
test_decode_truncated_int
Test decoding truncated int raises error.
tests/test_dirty_tlv.py:388
Method
test_decode_truncated_list_count
Test decoding truncated list count raises error.
tests/test_dirty_tlv.py:440
Method
test_decode_truncated_string_data
Test decoding truncated string data raises error.
tests/test_dirty_tlv.py:425
Method
test_decode_truncated_string_length
Test decoding truncated string length raises error.
tests/test_dirty_tlv.py:418
Method
test_decode_unknown_type
Test decoding unknown type raises error.
tests/test_dirty_tlv.py:454
Method
test_decode_with_offset
Test decoding from specific offset.
tests/test_dirty_tlv.py:493
Function
test_default_config_file
(create_config_file)
tests/test_config.py:360
Method
test_default_grace_period
Test that the default grace period is reasonable.
tests/test_asgi_disconnect.py:224
Method
test_default_is_h1
(self)
tests/test_http2_config.py:17
Function
test_default_keepalive_is_not_announced
(tmp_path)
tests/test_asgi_connection_close.py:109
Method
test_default_message
(self)
tests/test_http2_errors.py:190
Method
test_default_message_from_docstring
(self)
tests/test_http2_errors.py:126
Method
test_default_method
(self)
tests/test_http2_request.py:546
Method
test_default_path
(self)
tests/test_http2_request.py:591
Function
test_default_pre_request_skipped_only_when_it_would_not_log
()
tests/test_asgi_config_cache.py:136
Function
test_default_pre_request_still_logs_at_debug
()
tests/test_asgi_config_cache.py:143
Method
test_default_priority_values
Test that request inherits default stream priority.
tests/test_http2_request.py:610
Method
test_default_priority_values
Test default priority values.
tests/test_http2_stream.py:693
Method
test_default_scheme
(self)
tests/test_http2_request.py:560
Method
test_default_scheme_over_tls
(self)
tests/test_http2_request.py:575
Method
test_default_value
(self)
tests/test_http2_config.py:88
Method
test_default_value
(self)
tests/test_http2_config.py:122
Method
test_default_value
(self)
tests/test_http2_config.py:146
Method
test_default_value
(self)
tests/test_http2_config.py:202
← previous
next →
3,201–3,300 of 5,599, ranked by callers