MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_unfinished_response_is_reset_with_internal_error
(self)
tests/test_http2_async_connection.py:1446
Methodtest_unfinished_response_is_reset_with_internal_error_on_cleanup
The app returned without completing its response.
tests/test_http2_connection.py:1444
Methodtest_unicode_in_query_string
Test unicode characters in query string.
tests/docker/uwsgi/test_uwsgi_integration.py:294
Functiontest_unix_socket_abstract_namespace_skips_stat
(stat)
tests/test_sock.py:113
Functiontest_unix_socket_allowed
Test UNIX socket connections are always allowed.
tests/test_asgi_uwsgi.py:484
Methodtest_unix_socket_always_allowed
Test that UNIX socket connections are always allowed.
tests/test_uwsgi.py:279
Functiontest_unix_socket_bind_abstract_namespace_skips_chown
(chown)
tests/test_sock.py:132
Functiontest_unix_socket_close_unlink
(unlink)
tests/test_sock.py:95
Functiontest_unix_socket_close_without_unlink
(unlink)
tests/test_sock.py:104
Functiontest_unix_socket_filesystem_path_still_checks_stat
(stat)
tests/test_sock.py:122
Methodtest_unix_socket_peer_is_trusted
Non-tuple peer addresses (unix sockets) follow the forwarded-header policy and are trusted.
tests/test_http2_h2c.py:227
Methodtest_unknown_action_raises
Test that unknown actions raise ValueError.
examples/celery_alternative/tests/test_tasks.py:85
Methodtest_unknown_app_path_raises_error
Test that unknown app_path raises DirtyAppNotFoundError.
tests/dirty/test_multi_app_routing.py:378
Functiontest_unknown_coding_asgi_worker_is_501
(http_parser, raw)
tests/test_transfer_encoding.py:143
Functiontest_unknown_coding_wsgi_python_is_501
(raw)
tests/test_transfer_encoding.py:134
Methodtest_unknown_message_type_sends_error
Test that unknown message type sends error response.
tests/dirty/test_worker_streaming.py:411
Methodtest_unknown_path
Test connection to unknown path.
tests/docker/asgi_compliance/test_websocket_compliance.py:651
Methodtest_unknown_transfer_coding_rejected
Unknown transfer codings must be rejected.
tests/test_asgi_parser_validation.py:219
Methodtest_unlimited_app_works
UnlimitedTask should work.
tests/docker/dirty_ttin_ttou/test_ttin_ttou_docker.py:199
Methodtest_unmask_binary_data
Test unmasking binary data.
tests/test_asgi_websocket_protocol.py:217
Methodtest_unmask_empty
Test unmasking empty payload.
tests/test_asgi_websocket_protocol.py:193
Methodtest_unmask_longer_message
Test unmasking message longer than mask key.
tests/test_asgi_websocket_protocol.py:202
Methodtest_unmask_simple
Test basic unmasking operation.
tests/test_asgi_websocket_protocol.py:180
Methodtest_unread_body_is_reset_with_no_error_on_cleanup
(self)
tests/test_http2_async_connection.py:1145
Methodtest_unread_body_is_reset_with_no_error_on_cleanup
(self)
tests/test_http2_connection.py:1413
Functiontest_unread_body_pauses_reading_and_resumes
(http_parser)
tests/test_asgi_body_backpressure.py:39
Functiontest_unread_body_waits_for_app
A request body not received in full keeps the old behaviour: the connection serves nothing else and closes after the call.
tests/test_asgi_keepalive_background.py:201
Functiontest_unread_messages_are_bounded
An app that stops calling receive() does not make the queue grow without bound, and the socket is paused.
tests/test_asgi_websocket_enhanced.py:661
Functiontest_unreader_raises_excpetion_on_invalid_size
()
tests/test_http.py:175
Functiontest_unreader_read_when_size_is_none
()
tests/test_http.py:131
Functiontest_unreader_read_with_nonzero_size
()
tests/test_http.py:161
Functiontest_unreader_read_zero_size
()
tests/test_http.py:154
Functiontest_unreader_unread
()
tests/test_http.py:140
Functiontest_unreader_unread_should_place_data_at_the_beginning_of_the_buffer
()
tests/test_http.py:146
Methodtest_unregister_worker_cleans_both_maps
Worker removal updates both maps correctly.
tests/test_dirty_arbiter.py:1375
Methodtest_unsupported_http_version
Test unsupported HTTP version.
tests/test_python_protocol.py:249
Functiontest_unsupported_modifier
Test unsupported modifier1 raises error.
tests/test_asgi_uwsgi.py:419
Methodtest_unsupported_modifier
Test error on non-zero modifier1.
tests/test_uwsgi.py:237
Methodtest_unsupported_modifier_str
(self)
tests/test_uwsgi.py:404
Functiontest_untrusted_content
(tmp_path)
tests/test_dirty_pidfile.py:38
Functiontest_untrusted_peer_cannot_set_scheme
(http_parser)
tests/test_asgi_scope.py:52
Methodtest_untrusted_peer_is_not_sniffed
(self)
tests/test_http2_h2c.py:432
Methodtest_untrusted_peer_is_not_upgraded
(self, parser)
tests/test_http2_h2c.py:909
Methodtest_untrusted_peer_keeps_http
(self, parser_name)
tests/test_header_policy_parity.py:103
Methodtest_untrusted_peer_never_negotiates
(self)
tests/test_http2_h2c.py:305
Methodtest_untrusted_peer_still_serves_http1
(self)
tests/test_http2_h2c.py:441
Methodtest_untrusted_peer_takes_the_http1_path
(self)
tests/test_http2_h2c.py:597
Methodtest_untrusted_peer_underscore_header_rejected
(self, parser_name)
tests/test_header_policy_parity.py:139
Methodtest_untrusted_scheme_claim_ignored
(self)
tests/test_http2_request.py:799
Methodtest_update_priority_all_fields
Test updating all priority fields at once.
tests/test_http2_stream.py:732
Methodtest_update_priority_depends_on
Test updating priority dependency.
tests/test_http2_stream.py:713
Methodtest_update_priority_exclusive
Test updating exclusive flag.
tests/test_http2_stream.py:721
Methodtest_update_priority_partial
Test that partial updates don't affect other fields.
tests/test_http2_stream.py:743
Methodtest_update_priority_weight
Test updating priority weight.
tests/test_http2_stream.py:702
Methodtest_upgrade_allows_http1_through
(self)
tests/test_http2_h2c.py:726
Methodtest_upgrade_only
(self)
tests/test_http2_h2c.py:290
Methodtest_upgrade_request_survives_the_sniffer
(self)
tests/test_http2_h2c.py:953
Methodtest_upgraded_request_is_served_over_http2
(self, parser)
tests/test_http2_h2c.py:2224
Methodtest_uptime_tracking
Test uptime is tracked via main app info endpoint.
tests/docker/asgi_compliance/test_lifespan_compliance.py:76
Methodtest_url_encoded_query
Test URL-encoded query parameters.
tests/docker/asgi_compliance/test_http_compliance.py:365
Methodtest_user_agent_header
Test User-Agent header is received.
tests/docker/asgi_compliance/test_http_compliance.py:221
Methodtest_user_agent_header
Test User-Agent header is passed correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:105
Methodtest_uses_home_directory_structure
Verify the path structure uses .gunicorn subdirectory.
tests/test_config.py:617
Methodtest_uses_xdg_runtime_dir_when_set_and_exists
When XDG_RUNTIME_DIR is set and exists, use it.
tests/test_config.py:596
Methodtest_uwsgi_protocol_not_sniffed
The uwsgi protocol has its own parser; h2c must not touch it.
tests/test_http2_h2c.py:240
Methodtest_uwsgi_vars_preserved
Test that all vars are preserved in uwsgi_vars.
tests/test_uwsgi.py:195
Methodtest_v1_invalid_ipv4_destination_rejected
(self)
tests/test_asgi_proxy_protocol.py:32
Methodtest_v1_invalid_ipv4_source_rejected
(self)
tests/test_asgi_proxy_protocol.py:27
Methodtest_v1_invalid_ipv6_source_rejected
(self)
tests/test_asgi_proxy_protocol.py:37
Methodtest_v1_valid_ipv4_accepted
(self)
tests/test_asgi_proxy_protocol.py:42
Methodtest_v2_inet6_dgram_rejected
(self)
tests/test_asgi_proxy_protocol.py:68
Methodtest_v2_inet_dgram_rejected
(self)
tests/test_asgi_proxy_protocol.py:59
Methodtest_v2_inet_stream_accepted
(self)
tests/test_asgi_proxy_protocol.py:77
Methodtest_valid_chunk_extension
Valid chunk extensions should be accepted.
tests/test_asgi_callback_parser.py:524
Methodtest_valid_chunk_sizes
Valid hex chunk sizes should work.
tests/test_asgi_parser_validation.py:369
Methodtest_valid_chunk_terminator_accepted
A proper CRLF terminator between chunks still works.
tests/test_asgi_parser_validation.py:439
Methodtest_valid_chunked_accepted
Valid chunked request should be accepted.
tests/test_asgi_parser_validation.py:259
Functiontest_valid_close_is_answered
A valid client close is echoed as before; an empty one gets 1000, since 1005 must never be sent.
tests/test_asgi_websocket_enhanced.py:721
Functiontest_valid_extension_accepted
(size_line)
tests/test_chunk_extension.py:64
Functiontest_valid_extension_accepted_gunicorn_h1c
(size_line)
tests/test_chunk_extension.py:89
Functiontest_valid_handshake_is_upgraded
(http_parser)
tests/test_asgi_websocket_handshake.py:52
Methodtest_valid_header_name_accepted
Valid header names should be accepted.
tests/test_asgi_header_security.py:28
Methodtest_valid_host_header_accepted
Valid Host header should be accepted.
tests/test_asgi_header_security.py:303
Methodtest_valid_identity_then_chunked
identity, chunked is valid per RFC.
tests/test_asgi_parser_validation.py:277
Methodtest_valid_max_value
RFC 7540 maximum is 16777215 (2^24 - 1).
tests/test_http2_config.py:167
Methodtest_valid_mid_range_value
Test a value in the middle of the valid range.
tests/test_http2_config.py:173
Methodtest_valid_min_value
RFC 7540 minimum is 16384 (2^14).
tests/test_http2_config.py:161
Methodtest_valid_payload_is_returned
(self)
tests/test_http2_h2c.py:2329
Methodtest_valid_sequence_multiple_bodies
Test valid sequence: start -> body (more=True) -> body (more=False).
tests/test_asgi_streaming.py:476
Methodtest_valid_sequence_single_body
Test valid sequence: start -> body (more_body=False).
tests/test_asgi_streaming.py:463
Methodtest_valid_sequence_with_informational
Test valid sequence with informational response.
tests/test_asgi_streaming.py:490
Methodtest_valid_upgrade
(self)
tests/test_http2_h2c.py:683
Methodtest_valid_websocket_upgrade
Test detection of valid WebSocket upgrade request.
tests/test_asgi_websocket_protocol.py:444
Methodtest_validate_above_max_raises
Values above 16777215 should raise ValueError.
tests/test_http2_config.py:328
Methodtest_validate_below_min_raises
Values below 16384 should raise ValueError.
tests/test_http2_config.py:322
Methodtest_validate_empty_string
(self)
tests/test_http2_config.py:261
Functiontest_validate_file_pid_does_not_exist
(kill, _open)
tests/test_pidfile.py:46
Functiontest_validate_file_pid_exists
(kill, _open)
tests/test_pidfile.py:24
Functiontest_validate_file_pid_exists_kill_exception
(kill, _open)
tests/test_pidfile.py:38
Functiontest_validate_file_pid_malformed
(_open)
tests/test_pidfile.py:31
← previousnext →5,201–5,300 of 5,599, ranked by callers