MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_header_value_with_bare_cr_rejected
Header value containing bare CR must be rejected.
tests/test_asgi_header_security.py:98
Methodtest_header_value_with_bare_lf_rejected
Header value containing bare LF must be rejected.
tests/test_asgi_header_security.py:111
Methodtest_header_value_with_special_chars
Test header values with special characters.
tests/test_asgi_http_scope.py:337
Methodtest_header_value_with_tab_allowed
Horizontal tab in header value is allowed (OWS).
tests/test_asgi_header_security.py:138
Methodtest_header_values_are_bytes
Header values in scope must be bytes.
tests/test_asgi_header_security.py:215
Methodtest_header_values_as_bytes
Proxy header values should be bytes.
tests/test_asgi_forwarded_headers.py:402
Methodtest_header_with_spaces
Parse headers with leading/trailing spaces in values.
tests/test_asgi_callback_parser.py:127
Methodtest_headers_are_bytes
Test that header names and values are bytes.
tests/test_asgi_compliance.py:284
Methodtest_headers_are_not_erased
(self)
tests/test_http2_async_connection.py:1287
Methodtest_headers_converted_to_bytes
Test that headers are converted to bytes tuples.
tests/test_asgi_http_scope.py:287
Methodtest_headers_endpoint
Test that custom headers are received.
tests/docker/http2/test_http2_docker.py:57
Methodtest_headers_endpoint_returns_all_headers
Headers endpoint returns all sent headers.
tests/docker/asgi_framework_compat/tests/test_http_scope.py:112
Methodtest_headers_key_present
Test 'headers' key is present and is list of 2-tuples.
tests/test_asgi_compliance.py:268
Methodtest_headers_lowercase
Test that header names are lowercased.
tests/test_asgi_http_scope.py:300
Methodtest_headers_lowercased_in_scope
Header names must be lowercased in ASGI scope.
tests/test_asgi_header_security.py:186
Methodtest_headers_names_lowercase
Test that header names are lowercase.
tests/test_asgi_compliance.py:297
Methodtest_headers_preserved
Custom headers in request are accessible.
tests/docker/asgi_framework_compat/tests/test_http_messages.py:94
Methodtest_headers_preserved
Test that custom headers pass through proxy.
tests/docker/http2/test_http2_docker.py:174
Methodtest_headers_received
Test that request headers are received correctly.
tests/docker/asgi_compliance/test_http_compliance.py:200
Functiontest_headers_reset_flood_leaves_the_worker_serving
(server, client)
tests/test_http2_live.py:271
Methodtest_headers_sent_once_before_the_first_frame
(self)
tests/test_http2_response.py:39
Methodtest_headers_survive_with_a_body
(self)
tests/test_http2_h2c.py:1757
Methodtest_headers_survive_without_a_body
(self)
tests/test_http2_h2c.py:1762
Methodtest_headers_uppercase_conversion
HTTP/2 headers are lowercase, should be converted to uppercase.
tests/test_http2_request.py:241
Methodtest_health_after_startup
Test health endpoint returns OK.
tests/docker/asgi_compliance/test_lifespan_compliance.py:54
Methodtest_health_check
Test that health endpoint returns healthy status.
examples/celery_alternative/tests/test_integration.py:72
Methodtest_health_endpoint
Test health check endpoint.
tests/docker/asgi_compliance/test_http_compliance.py:36
Methodtest_health_endpoint
Test health check endpoint.
tests/docker/http2/test_http2_docker.py:36
Methodtest_health_endpoint
Test health check endpoint.
examples/http2_gevent/test_http2_gevent.py:73
Methodtest_heartbeat_loop
Test heartbeat loop updates tmp.
tests/test_dirty_worker.py:662
Methodtest_heartbeat_stops_ioloop_after_server
Test that heartbeat stops IOLoop after server is stopped.
tests/test_gtornado.py:254
Methodtest_heartbeat_stops_server_when_not_alive
Test that heartbeat stops the server when not alive.
tests/test_gtornado.py:242
Methodtest_heartbeat_updated_during_streaming
Test that heartbeat is updated during streaming.
tests/dirty/test_worker_streaming.py:377
Methodtest_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
Methodtest_heavy_app_prediction_works
HeavyApp.predict() should return correct results.
tests/docker/per_app_allocation/test_per_app_e2e.py:270
Methodtest_heavy_app_uses_limited_workers
HeavyApp (workers=2) should use only 2 workers.
tests/docker/per_app_allocation/test_per_app_e2e.py:247
Methodtest_help
Test help command.
tests/ctl/test_handlers.py:455
Methodtest_help_command
Test help command.
tests/ctl/test_server.py:275
Functiontest_hook_editing_connection_header_is_seen
(http_parser)
tests/test_asgi_request_base.py:103
Methodtest_host_header
Test Host header is received.
tests/docker/asgi_compliance/test_http_compliance.py:214
Methodtest_host_header
Test Host header is passed correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:84
Methodtest_host_header_from_authority
Host header should be generated from :authority pseudo-header.
tests/test_http2_request.py:260
Methodtest_host_header_with_port_accepted
Host header with port should be accepted.
tests/test_asgi_header_security.py:315
Methodtest_http10_default_close
Test HTTP/1.0 defaults to close.
tests/test_python_protocol.py:513
Functiontest_http10_expectation_is_ignored
(http_parser)
tests/test_asgi_expect_continue.py:128
Methodtest_http10_no_chunked
Test HTTP/1.0 does not support chunked encoding.
tests/test_asgi_streaming.py:332
Methodtest_http10_no_keepalive
HTTP/1.0 defaults to no keep-alive.
tests/test_asgi_callback_parser.py:321
Methodtest_http10_version
HTTP/1.0 should be parsed correctly.
tests/test_asgi_protocol_http.py:46
Methodtest_http10_with_keepalive
HTTP/1.0 with Connection: keep-alive.
tests/test_asgi_callback_parser.py:334
Methodtest_http11_client_works
Test that HTTP/1.1 client can still connect.
tests/docker/http2/test_http2_docker.py:245
Methodtest_http11_connection_close
HTTP/1.1 with Connection: close.
tests/test_asgi_callback_parser.py:307
Methodtest_http11_default_keepalive
Test HTTP/1.1 defaults to keep-alive.
tests/test_python_protocol.py:506
Methodtest_http11_keepalive_default
HTTP/1.1 should use keep-alive by default.
tests/test_asgi_protocol_http.py:31
Methodtest_http11_keepalive_default
HTTP/1.1 defaults to keep-alive.
tests/test_asgi_callback_parser.py:294
Methodtest_http11_required
(self)
tests/test_http2_errors.py:87
Methodtest_http11_supports_chunked
Test HTTP/1.1 supports chunked encoding.
tests/test_asgi_streaming.py:326
Methodtest_http1_from_trusted_peer_is_refused
(self)
tests/test_http2_h2c.py:585
Methodtest_http1_from_trusted_peer_rejected
(self)
tests/test_http2_h2c.py:426
Methodtest_http1_from_untrusted_peer_parses
Untrusted h1 traffic is byte-for-byte unaffected by the flag.
tests/test_http2_h2c.py:200
Methodtest_http1_request_rejected
(self)
tests/test_http2_h2c.py:150
Methodtest_http2_404
Test 404 over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:263
Methodtest_http2_500
Test 500 over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:268
Methodtest_http2_detected_after_handshake
Test that HTTP/2 is properly detected after explicit handshake.
tests/test_http2_alpn.py:290
Methodtest_http2_fastapi
Test FastAPI over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:246
Methodtest_http2_headers
Test headers work correctly over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:46
Methodtest_http2_is_negotiated
(self, http2_client, gunicorn_ssl_url)
tests/docker/asgi_compliance/test_http2_asgi.py:450
Methodtest_http2_large_request_body
Test large request body over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:166
Methodtest_http2_large_response
Test large response over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:131
Methodtest_http2_lifespan_counter
Test lifespan counter over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:374
Methodtest_http2_lifespan_state
Test lifespan state over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:366
Methodtest_http2_no_chunked
Test HTTP/2 doesn't use chunked encoding (uses framing).
tests/test_asgi_streaming.py:338
Methodtest_http2_post_echo
Test echo endpoint over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:156
Methodtest_http2_post_json
Test POST with JSON body over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:145
Methodtest_http2_priority_extension
Test HTTP/2 priority extension.
tests/test_asgi_http_scope.py:518
Methodtest_http2_priority_extension
Test http.response.priority extension in HTTP/2 scope.
tests/test_asgi_compliance.py:596
Methodtest_http2_priority_in_http2_scope
Test that HTTP/2 priority is in _build_http2_scope.
tests/test_asgi_worker.py:846
Methodtest_http2_priority_in_scope
Test that HTTP/2 priority is added to ASGI scope extensions.
tests/test_asgi_worker.py:813
Methodtest_http2_request
Test HTTP/2 request through nginx.
tests/docker/asgi_compliance/test_http2_asgi.py:30
Methodtest_http2_scope
Test ASGI scope with HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:37
Methodtest_http2_scope_has_both_priority_and_trailers
Test that HTTP/2 scope includes both priority and trailers extensions.
tests/test_asgi_worker.py:951
Methodtest_http2_scope_has_extensions
Test that HTTP/2 scope includes extensions dict.
tests/test_asgi_compliance.py:586
Methodtest_http2_scope_required_keys
Test all required keys in HTTP/2 scope.
tests/test_asgi_http_scope.py:544
Methodtest_http2_sse
Test Server-Sent Events over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:125
Methodtest_http2_starlette
Test Starlette over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:237
Methodtest_http2_streaming_response
Test streaming response over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:119
Methodtest_http2_trailers_extension
Test HTTP/2 trailers extension present.
tests/test_asgi_http_scope.py:534
Methodtest_http2_trailers_extension
Test http.response.trailers extension in HTTP/2 scope.
tests/test_asgi_compliance.py:613
Methodtest_http2_trailers_extension_in_scope
Test that HTTP/2 scope includes http.response.trailers extension.
tests/test_asgi_worker.py:919
Methodtest_http2_various_status_codes
Test various status codes over HTTP/2.
tests/docker/asgi_compliance/test_http2_asgi.py:273
Methodtest_http2_version_string
Test HTTP/2 version string in scope.
tests/test_asgi_http_scope.py:509
Methodtest_http2error_is_exception
(self)
tests/test_http2_errors.py:119
Methodtest_http_10_request
Test parsing HTTP/1.0 request.
tests/test_python_protocol.py:49
Methodtest_http_10_version
Parse HTTP/1.0 request.
tests/test_asgi_callback_parser.py:67
Methodtest_http_10_with_keepalive
Test HTTP/1.0 with explicit keep-alive.
tests/test_python_protocol.py:59
Methodtest_http_1_0_is_not_upgraded
(self)
tests/test_http2_h2c.py:2353
Methodtest_http_and_websocket_concurrent
Test concurrent HTTP and WebSocket requests.
tests/docker/asgi_compliance/test_concurrency.py:156
Methodtest_http_app_root
Test HTTP app root endpoint.
tests/docker/asgi_compliance/test_http_compliance.py:42
Functiontest_http_date
()
tests/test_util.py:43
Methodtest_http_disconnect_format
Test http.disconnect message format.
tests/test_asgi_compliance.py:433
Functiontest_http_header_encoding
tests whether http response headers are USASCII encoded
tests/test_http.py:86
← previousnext →3,801–3,900 of 5,599, ranked by callers