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_header_value_with_bare_cr_rejected
Header value containing bare CR must be rejected.
tests/test_asgi_header_security.py:98
Method
test_header_value_with_bare_lf_rejected
Header value containing bare LF must be rejected.
tests/test_asgi_header_security.py:111
Method
test_header_value_with_special_chars
Test header values with special characters.
tests/test_asgi_http_scope.py:337
Method
test_header_value_with_tab_allowed
Horizontal tab in header value is allowed (OWS).
tests/test_asgi_header_security.py:138
Method
test_header_values_are_bytes
Header values in scope must be bytes.
tests/test_asgi_header_security.py:215
Method
test_header_values_as_bytes
Proxy header values should be bytes.
tests/test_asgi_forwarded_headers.py:402
Method
test_header_with_spaces
Parse headers with leading/trailing spaces in values.
tests/test_asgi_callback_parser.py:127
Method
test_headers_are_bytes
Test that header names and values are bytes.
tests/test_asgi_compliance.py:284
Method
test_headers_are_not_erased
(self)
tests/test_http2_async_connection.py:1287
Method
test_headers_converted_to_bytes
Test that headers are converted to bytes tuples.
tests/test_asgi_http_scope.py:287
Method
test_headers_endpoint
Test that custom headers are received.
tests/docker/http2/test_http2_docker.py:57
Method
test_headers_endpoint_returns_all_headers
Headers endpoint returns all sent headers.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:112
Method
test_headers_key_present
Test 'headers' key is present and is list of 2-tuples.
tests/test_asgi_compliance.py:268
Method
test_headers_lowercase
Test that header names are lowercased.
tests/test_asgi_http_scope.py:300
Method
test_headers_lowercased_in_scope
Header names must be lowercased in ASGI scope.
tests/test_asgi_header_security.py:186
Method
test_headers_names_lowercase
Test that header names are lowercase.
tests/test_asgi_compliance.py:297
Method
test_headers_preserved
Custom headers in request are accessible.
tests/docker/asgi_framework_compat/tests/test_http_messages.py:94
Method
test_headers_preserved
Test that custom headers pass through proxy.
tests/docker/http2/test_http2_docker.py:174
Method
test_headers_received
Test that request headers are received correctly.
tests/docker/asgi_compliance/test_http_compliance.py:200
Function
test_headers_reset_flood_leaves_the_worker_serving
(server, client)
tests/test_http2_live.py:271
Method
test_headers_sent_once_before_the_first_frame
(self)
tests/test_http2_response.py:39
Method
test_headers_survive_with_a_body
(self)
tests/test_http2_h2c.py:1757
Method
test_headers_survive_without_a_body
(self)
tests/test_http2_h2c.py:1762
Method
test_headers_uppercase_conversion
HTTP/2 headers are lowercase, should be converted to uppercase.
tests/test_http2_request.py:241
Method
test_health_after_startup
Test health endpoint returns OK.
tests/docker/asgi_compliance/test_lifespan_compliance.py:54
Method
test_health_check
Test that health endpoint returns healthy status.
examples/celery_alternative/tests/test_integration.py:72
Method
test_health_endpoint
Test health check endpoint.
tests/docker/asgi_compliance/test_http_compliance.py:36
Method
test_health_endpoint
Test health check endpoint.
tests/docker/http2/test_http2_docker.py:36
Method
test_health_endpoint
Test health check endpoint.
examples/http2_gevent/test_http2_gevent.py:73
Method
test_heartbeat_loop
Test heartbeat loop updates tmp.
tests/test_dirty_worker.py:662
Method
test_heartbeat_stops_ioloop_after_server
Test that heartbeat stops IOLoop after server is stopped.
tests/test_gtornado.py:254
Method
test_heartbeat_stops_server_when_not_alive
Test that heartbeat stops the server when not alive.
tests/test_gtornado.py:242
Method
test_heartbeat_updated_during_streaming
Test that heartbeat is updated during streaming.
tests/dirty/test_worker_streaming.py:377
Method
test_heavy_app_loaded_on_limited_workers
App with workers=2 only loaded on 2 of 4 workers.
tests/dirty/test_per_app_worker_allocation.py:47
Method
test_heavy_app_prediction_works
HeavyApp.predict() should return correct results.
tests/docker/per_app_allocation/test_per_app_e2e.py:270
Method
test_heavy_app_uses_limited_workers
HeavyApp (workers=2) should use only 2 workers.
tests/docker/per_app_allocation/test_per_app_e2e.py:247
Method
test_help
Test help command.
tests/ctl/test_handlers.py:455
Method
test_help_command
Test help command.
tests/ctl/test_server.py:275
Function
test_hook_editing_connection_header_is_seen
(http_parser)
tests/test_asgi_request_base.py:103
Method
test_host_header
Test Host header is received.
tests/docker/asgi_compliance/test_http_compliance.py:214
Method
test_host_header
Test Host header is passed correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:84
Method
test_host_header_from_authority
Host header should be generated from :authority pseudo-header.
tests/test_http2_request.py:260
Method
test_host_header_with_port_accepted
Host header with port should be accepted.
tests/test_asgi_header_security.py:315
Method
test_http10_default_close
Test HTTP/1.0 defaults to close.
tests/test_python_protocol.py:513
Function
test_http10_expectation_is_ignored
(http_parser)
tests/test_asgi_expect_continue.py:128
Method
test_http10_no_chunked
Test HTTP/1.0 does not support chunked encoding.
tests/test_asgi_streaming.py:332
Method
test_http10_no_keepalive
HTTP/1.0 defaults to no keep-alive.
tests/test_asgi_callback_parser.py:321
Method
test_http10_version
HTTP/1.0 should be parsed correctly.
tests/test_asgi_protocol_http.py:46
Method
test_http10_with_keepalive
HTTP/1.0 with Connection: keep-alive.
tests/test_asgi_callback_parser.py:334
Method
test_http11_client_works
Test that HTTP/1.1 client can still connect.
tests/docker/http2/test_http2_docker.py:245
Method
test_http11_connection_close
HTTP/1.1 with Connection: close.
tests/test_asgi_callback_parser.py:307
Method
test_http11_default_keepalive
Test HTTP/1.1 defaults to keep-alive.
tests/test_python_protocol.py:506
Method
test_http11_keepalive_default
HTTP/1.1 should use keep-alive by default.
tests/test_asgi_protocol_http.py:31
Method
test_http11_keepalive_default
HTTP/1.1 defaults to keep-alive.
tests/test_asgi_callback_parser.py:294
Method
test_http11_required
(self)
tests/test_http2_errors.py:87
Method
test_http11_supports_chunked
Test HTTP/1.1 supports chunked encoding.
tests/test_asgi_streaming.py:326
Method
test_http1_from_trusted_peer_is_refused
(self)
tests/test_http2_h2c.py:585
Method
test_http1_from_trusted_peer_rejected
(self)
tests/test_http2_h2c.py:426
Method
test_http1_from_untrusted_peer_parses
Untrusted h1 traffic is byte-for-byte unaffected by the flag.
tests/test_http2_h2c.py:200
Method
test_http1_request_rejected
(self)
tests/test_http2_h2c.py:150
Method
test_http2_404
Test 404 over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:263
Method
test_http2_500
Test 500 over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:268
Method
test_http2_detected_after_handshake
Test that HTTP/2 is properly detected after explicit handshake.
tests/test_http2_alpn.py:290
Method
test_http2_fastapi
Test FastAPI over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:246
Method
test_http2_headers
Test headers work correctly over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:46
Method
test_http2_is_negotiated
(self, http2_client, gunicorn_ssl_url)
tests/docker/asgi_compliance/test_http2_asgi.py:450
Method
test_http2_large_request_body
Test large request body over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:166
Method
test_http2_large_response
Test large response over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:131
Method
test_http2_lifespan_counter
Test lifespan counter over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:374
Method
test_http2_lifespan_state
Test lifespan state over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:366
Method
test_http2_no_chunked
Test HTTP/2 doesn't use chunked encoding (uses framing).
tests/test_asgi_streaming.py:338
Method
test_http2_post_echo
Test echo endpoint over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:156
Method
test_http2_post_json
Test POST with JSON body over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:145
Method
test_http2_priority_extension
Test HTTP/2 priority extension.
tests/test_asgi_http_scope.py:518
Method
test_http2_priority_extension
Test http.response.priority extension in HTTP/2 scope.
tests/test_asgi_compliance.py:596
Method
test_http2_priority_in_http2_scope
Test that HTTP/2 priority is in _build_http2_scope.
tests/test_asgi_worker.py:846
Method
test_http2_priority_in_scope
Test that HTTP/2 priority is added to ASGI scope extensions.
tests/test_asgi_worker.py:813
Method
test_http2_request
Test HTTP/2 request through nginx.
tests/docker/asgi_compliance/test_http2_asgi.py:30
Method
test_http2_scope
Test ASGI scope with HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:37
Method
test_http2_scope_has_both_priority_and_trailers
Test that HTTP/2 scope includes both priority and trailers extensions.
tests/test_asgi_worker.py:951
Method
test_http2_scope_has_extensions
Test that HTTP/2 scope includes extensions dict.
tests/test_asgi_compliance.py:586
Method
test_http2_scope_required_keys
Test all required keys in HTTP/2 scope.
tests/test_asgi_http_scope.py:544
Method
test_http2_sse
Test Server-Sent Events over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:125
Method
test_http2_starlette
Test Starlette over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:237
Method
test_http2_streaming_response
Test streaming response over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:119
Method
test_http2_trailers_extension
Test HTTP/2 trailers extension present.
tests/test_asgi_http_scope.py:534
Method
test_http2_trailers_extension
Test http.response.trailers extension in HTTP/2 scope.
tests/test_asgi_compliance.py:613
Method
test_http2_trailers_extension_in_scope
Test that HTTP/2 scope includes http.response.trailers extension.
tests/test_asgi_worker.py:919
Method
test_http2_various_status_codes
Test various status codes over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:273
Method
test_http2_version_string
Test HTTP/2 version string in scope.
tests/test_asgi_http_scope.py:509
Method
test_http2error_is_exception
(self)
tests/test_http2_errors.py:119
Method
test_http_10_request
Test parsing HTTP/1.0 request.
tests/test_python_protocol.py:49
Method
test_http_10_version
Parse HTTP/1.0 request.
tests/test_asgi_callback_parser.py:67
Method
test_http_10_with_keepalive
Test HTTP/1.0 with explicit keep-alive.
tests/test_python_protocol.py:59
Method
test_http_1_0_is_not_upgraded
(self)
tests/test_http2_h2c.py:2353
Method
test_http_and_websocket_concurrent
Test concurrent HTTP and WebSocket requests.
tests/docker/asgi_compliance/test_concurrency.py:156
Method
test_http_app_root
Test HTTP app root endpoint.
tests/docker/asgi_compliance/test_http_compliance.py:42
Function
test_http_date
()
tests/test_util.py:43
Method
test_http_disconnect_format
Test http.disconnect message format.
tests/test_asgi_compliance.py:433
Function
test_http_header_encoding
tests whether http response headers are USASCII encoded
tests/test_http.py:86
← previous
next →
3,801–3,900 of 5,599, ranked by callers