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_unfinished_response_is_reset_with_internal_error
(self)
tests/test_http2_async_connection.py:1446
Method
test_unfinished_response_is_reset_with_internal_error_on_cleanup
The app returned without completing its response.
tests/test_http2_connection.py:1444
Method
test_unicode_in_query_string
Test unicode characters in query string.
tests/docker/uwsgi/test_uwsgi_integration.py:294
Function
test_unix_socket_abstract_namespace_skips_stat
(stat)
tests/test_sock.py:113
Function
test_unix_socket_allowed
Test UNIX socket connections are always allowed.
tests/test_asgi_uwsgi.py:484
Method
test_unix_socket_always_allowed
Test that UNIX socket connections are always allowed.
tests/test_uwsgi.py:279
Function
test_unix_socket_bind_abstract_namespace_skips_chown
(chown)
tests/test_sock.py:132
Function
test_unix_socket_close_unlink
(unlink)
tests/test_sock.py:95
Function
test_unix_socket_close_without_unlink
(unlink)
tests/test_sock.py:104
Function
test_unix_socket_filesystem_path_still_checks_stat
(stat)
tests/test_sock.py:122
Method
test_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
Method
test_unknown_action_raises
Test that unknown actions raise ValueError.
examples/celery_alternative/tests/test_tasks.py:85
Method
test_unknown_app_path_raises_error
Test that unknown app_path raises DirtyAppNotFoundError.
tests/dirty/test_multi_app_routing.py:378
Function
test_unknown_coding_asgi_worker_is_501
(http_parser, raw)
tests/test_transfer_encoding.py:143
Function
test_unknown_coding_wsgi_python_is_501
(raw)
tests/test_transfer_encoding.py:134
Method
test_unknown_message_type_sends_error
Test that unknown message type sends error response.
tests/dirty/test_worker_streaming.py:411
Method
test_unknown_path
Test connection to unknown path.
tests/docker/asgi_compliance/test_websocket_compliance.py:651
Method
test_unknown_transfer_coding_rejected
Unknown transfer codings must be rejected.
tests/test_asgi_parser_validation.py:219
Method
test_unlimited_app_works
UnlimitedTask should work.
tests/docker/dirty_ttin_ttou/test_ttin_ttou_docker.py:199
Method
test_unmask_binary_data
Test unmasking binary data.
tests/test_asgi_websocket_protocol.py:217
Method
test_unmask_empty
Test unmasking empty payload.
tests/test_asgi_websocket_protocol.py:193
Method
test_unmask_longer_message
Test unmasking message longer than mask key.
tests/test_asgi_websocket_protocol.py:202
Method
test_unmask_simple
Test basic unmasking operation.
tests/test_asgi_websocket_protocol.py:180
Method
test_unread_body_is_reset_with_no_error_on_cleanup
(self)
tests/test_http2_async_connection.py:1145
Method
test_unread_body_is_reset_with_no_error_on_cleanup
(self)
tests/test_http2_connection.py:1413
Function
test_unread_body_pauses_reading_and_resumes
(http_parser)
tests/test_asgi_body_backpressure.py:39
Function
test_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
Function
test_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
Function
test_unreader_raises_excpetion_on_invalid_size
()
tests/test_http.py:175
Function
test_unreader_read_when_size_is_none
()
tests/test_http.py:131
Function
test_unreader_read_with_nonzero_size
()
tests/test_http.py:161
Function
test_unreader_read_zero_size
()
tests/test_http.py:154
Function
test_unreader_unread
()
tests/test_http.py:140
Function
test_unreader_unread_should_place_data_at_the_beginning_of_the_buffer
()
tests/test_http.py:146
Method
test_unregister_worker_cleans_both_maps
Worker removal updates both maps correctly.
tests/test_dirty_arbiter.py:1375
Method
test_unsupported_http_version
Test unsupported HTTP version.
tests/test_python_protocol.py:249
Function
test_unsupported_modifier
Test unsupported modifier1 raises error.
tests/test_asgi_uwsgi.py:419
Method
test_unsupported_modifier
Test error on non-zero modifier1.
tests/test_uwsgi.py:237
Method
test_unsupported_modifier_str
(self)
tests/test_uwsgi.py:404
Function
test_untrusted_content
(tmp_path)
tests/test_dirty_pidfile.py:38
Function
test_untrusted_peer_cannot_set_scheme
(http_parser)
tests/test_asgi_scope.py:52
Method
test_untrusted_peer_is_not_sniffed
(self)
tests/test_http2_h2c.py:432
Method
test_untrusted_peer_is_not_upgraded
(self, parser)
tests/test_http2_h2c.py:909
Method
test_untrusted_peer_keeps_http
(self, parser_name)
tests/test_header_policy_parity.py:103
Method
test_untrusted_peer_never_negotiates
(self)
tests/test_http2_h2c.py:305
Method
test_untrusted_peer_still_serves_http1
(self)
tests/test_http2_h2c.py:441
Method
test_untrusted_peer_takes_the_http1_path
(self)
tests/test_http2_h2c.py:597
Method
test_untrusted_peer_underscore_header_rejected
(self, parser_name)
tests/test_header_policy_parity.py:139
Method
test_untrusted_scheme_claim_ignored
(self)
tests/test_http2_request.py:799
Method
test_update_priority_all_fields
Test updating all priority fields at once.
tests/test_http2_stream.py:732
Method
test_update_priority_depends_on
Test updating priority dependency.
tests/test_http2_stream.py:713
Method
test_update_priority_exclusive
Test updating exclusive flag.
tests/test_http2_stream.py:721
Method
test_update_priority_partial
Test that partial updates don't affect other fields.
tests/test_http2_stream.py:743
Method
test_update_priority_weight
Test updating priority weight.
tests/test_http2_stream.py:702
Method
test_upgrade_allows_http1_through
(self)
tests/test_http2_h2c.py:726
Method
test_upgrade_only
(self)
tests/test_http2_h2c.py:290
Method
test_upgrade_request_survives_the_sniffer
(self)
tests/test_http2_h2c.py:953
Method
test_upgraded_request_is_served_over_http2
(self, parser)
tests/test_http2_h2c.py:2224
Method
test_uptime_tracking
Test uptime is tracked via main app info endpoint.
tests/docker/asgi_compliance/test_lifespan_compliance.py:76
Method
test_url_encoded_query
Test URL-encoded query parameters.
tests/docker/asgi_compliance/test_http_compliance.py:365
Method
test_user_agent_header
Test User-Agent header is received.
tests/docker/asgi_compliance/test_http_compliance.py:221
Method
test_user_agent_header
Test User-Agent header is passed correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:105
Method
test_uses_home_directory_structure
Verify the path structure uses .gunicorn subdirectory.
tests/test_config.py:617
Method
test_uses_xdg_runtime_dir_when_set_and_exists
When XDG_RUNTIME_DIR is set and exists, use it.
tests/test_config.py:596
Method
test_uwsgi_protocol_not_sniffed
The uwsgi protocol has its own parser; h2c must not touch it.
tests/test_http2_h2c.py:240
Method
test_uwsgi_vars_preserved
Test that all vars are preserved in uwsgi_vars.
tests/test_uwsgi.py:195
Method
test_v1_invalid_ipv4_destination_rejected
(self)
tests/test_asgi_proxy_protocol.py:32
Method
test_v1_invalid_ipv4_source_rejected
(self)
tests/test_asgi_proxy_protocol.py:27
Method
test_v1_invalid_ipv6_source_rejected
(self)
tests/test_asgi_proxy_protocol.py:37
Method
test_v1_valid_ipv4_accepted
(self)
tests/test_asgi_proxy_protocol.py:42
Method
test_v2_inet6_dgram_rejected
(self)
tests/test_asgi_proxy_protocol.py:68
Method
test_v2_inet_dgram_rejected
(self)
tests/test_asgi_proxy_protocol.py:59
Method
test_v2_inet_stream_accepted
(self)
tests/test_asgi_proxy_protocol.py:77
Method
test_valid_chunk_extension
Valid chunk extensions should be accepted.
tests/test_asgi_callback_parser.py:524
Method
test_valid_chunk_sizes
Valid hex chunk sizes should work.
tests/test_asgi_parser_validation.py:369
Method
test_valid_chunk_terminator_accepted
A proper CRLF terminator between chunks still works.
tests/test_asgi_parser_validation.py:439
Method
test_valid_chunked_accepted
Valid chunked request should be accepted.
tests/test_asgi_parser_validation.py:259
Function
test_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
Function
test_valid_extension_accepted
(size_line)
tests/test_chunk_extension.py:64
Function
test_valid_extension_accepted_gunicorn_h1c
(size_line)
tests/test_chunk_extension.py:89
Function
test_valid_handshake_is_upgraded
(http_parser)
tests/test_asgi_websocket_handshake.py:52
Method
test_valid_header_name_accepted
Valid header names should be accepted.
tests/test_asgi_header_security.py:28
Method
test_valid_host_header_accepted
Valid Host header should be accepted.
tests/test_asgi_header_security.py:303
Method
test_valid_identity_then_chunked
identity, chunked is valid per RFC.
tests/test_asgi_parser_validation.py:277
Method
test_valid_max_value
RFC 7540 maximum is 16777215 (2^24 - 1).
tests/test_http2_config.py:167
Method
test_valid_mid_range_value
Test a value in the middle of the valid range.
tests/test_http2_config.py:173
Method
test_valid_min_value
RFC 7540 minimum is 16384 (2^14).
tests/test_http2_config.py:161
Method
test_valid_payload_is_returned
(self)
tests/test_http2_h2c.py:2329
Method
test_valid_sequence_multiple_bodies
Test valid sequence: start -> body (more=True) -> body (more=False).
tests/test_asgi_streaming.py:476
Method
test_valid_sequence_single_body
Test valid sequence: start -> body (more_body=False).
tests/test_asgi_streaming.py:463
Method
test_valid_sequence_with_informational
Test valid sequence with informational response.
tests/test_asgi_streaming.py:490
Method
test_valid_upgrade
(self)
tests/test_http2_h2c.py:683
Method
test_valid_websocket_upgrade
Test detection of valid WebSocket upgrade request.
tests/test_asgi_websocket_protocol.py:444
Method
test_validate_above_max_raises
Values above 16777215 should raise ValueError.
tests/test_http2_config.py:328
Method
test_validate_below_min_raises
Values below 16384 should raise ValueError.
tests/test_http2_config.py:322
Method
test_validate_empty_string
(self)
tests/test_http2_config.py:261
Function
test_validate_file_pid_does_not_exist
(kill, _open)
tests/test_pidfile.py:46
Function
test_validate_file_pid_exists
(kill, _open)
tests/test_pidfile.py:24
Function
test_validate_file_pid_exists_kill_exception
(kill, _open)
tests/test_pidfile.py:38
Function
test_validate_file_pid_malformed
(_open)
tests/test_pidfile.py:31
← previous
next →
5,201–5,300 of 5,599, ranked by callers