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_reload_with_no_workers
Test reload when no workers exist.
tests/test_dirty_arbiter.py:914
Method
test_reopen
Test reopen command.
tests/ctl/test_handlers.py:371
Function
test_repeated_close_is_idempotent
Extra close/lost callbacks must not drive the counter negative.
tests/test_asgi_nr_conns_shutdown.py:119
Method
test_repeated_fork_cycles_do_not_leak_threads
A reload spawns workers back to back; no cycle may orphan a thread.
tests/ctl/test_server.py:194
Function
test_repeated_headers_joined_in_order
Repeated fields become one comma-joined environ value, in order.
tests/test_http.py:748
Method
test_repeated_sighup_does_not_leak_fds_or_threads
(self, app_module)
tests/test_control_socket_integration.py:418
Function
test_replaces_stale_file_of_ours
(tmp_path)
tests/test_dirty_pidfile.py:21
Function
test_repr
()
tests/test_config.py:549
Method
test_repr
(self)
tests/test_http2_async_connection.py:528
Method
test_repr
(self)
tests/test_http2_connection.py:570
Method
test_repr_format
(self)
tests/test_http2_request.py:523
Method
test_repr_format
(self)
tests/test_http2_stream.py:609
Method
test_req
(sn, sz, mt)
tests/treq.py:275
Method
test_req_number_is_stream_id
(self)
tests/test_http2_request.py:481
Function
test_request_built_by_hand_reads_its_str_headers
()
tests/test_asgi_request_build.py:152
Method
test_request_count_increments
Test request count increments across requests.
tests/docker/asgi_compliance/test_lifespan_compliance.py:101
Function
test_request_hooks_still_called_every_request
(http_parser)
tests/test_asgi_config_cache.py:83
Method
test_request_is_carried_over
(self)
tests/test_http2_h2c.py:2265
Method
test_request_is_dispatched_before_the_body_arrives
(self)
tests/test_http2_async_connection.py:1104
Method
test_request_is_dispatched_before_the_body_arrives
(self)
tests/test_http2_connection.py:1332
Method
test_request_is_served
(self)
tests/test_http2_h2c.py:1036
Method
test_request_is_served_then_connection_closes
(self)
tests/test_http2_h2c.py:1307
Method
test_request_line
(self)
tests/test_asgi_parser_validation.py:571
Method
test_request_line_and_field_limits_apply
(self)
tests/test_http2_connection.py:2194
Function
test_request_line_limit_after_empty_line
limit_request_line measures the request line itself, also after the one empty line RFC 9112 2.2 allows before it, with both parsers.
tests/test_http.py:701
Method
test_request_line_unlimited_is_bounded
(self)
tests/test_asgi_parser_validation.py:577
Method
test_request_method
Test REQUEST_METHOD is set correctly.
tests/docker/uwsgi/test_uwsgi_integration.py:171
Method
test_request_routing_respects_allocation
Requests only routed to workers with the target app.
tests/dirty/test_per_app_worker_allocation.py:127
Function
test_request_target_accepts_percent_encoded_non_ascii
()
tests/test_http.py:779
Function
test_request_target_rejects_non_ascii
RFC 9112 3.2 / RFC 3986 2: non-ASCII must be percent-encoded.
tests/test_http.py:767
Function
test_request_target_rejects_raw_nul_but_allows_percent_encoded
Raw NUL in the request-target is 400; percent-encoded %00 is still a URI.
tests/test_http.py:624
Method
test_request_time_conversion
_RequestTime should store time as seconds + microseconds.
tests/test_asgi_error_handling.py:333
Method
test_request_time_creation
_RequestTime should track timing.
tests/test_asgi_error_handling.py:323
Method
test_request_time_with_zero
_RequestTime with zero elapsed time.
tests/test_asgi_error_handling.py:343
Method
test_request_with_multiple_headers_same_name
Test request with multiple headers of the same name.
tests/test_http2_integration.py:621
Method
test_request_with_query_string
Test request with query string parameters.
tests/test_http2_integration.py:594
Function
test_request_within_keepalive_window_is_served
(tmp_path)
tests/test_asgi_keepalive_timeout.py:103
Method
test_requests_arriving_during_a_body_read_are_queued
(self)
tests/test_http2_connection.py:1457
Method
test_reset_after_queueing_is_not_handed_out
(self)
tests/test_http2_connection.py:2069
Method
test_reset_after_request
Parser can be reset for a new request.
tests/test_asgi_callback_parser.py:352
Method
test_reset_before_dispatch_drops_the_stream
(self)
tests/test_http2_connection.py:2060
Method
test_reset_clears_it
(self, parser)
tests/test_http2_h2c.py:1019
Method
test_reset_clears_state
Test that reset clears all state.
tests/test_python_protocol.py:272
Method
test_reset_custom_error_code
(self)
tests/test_http2_stream.py:389
Method
test_reset_default_error_code
(self)
tests/test_http2_stream.py:378
Method
test_reset_during_drain_is_not_an_app_error
Every send after the peer's reset stays inert, trailers included.
tests/test_http2_h2c.py:1766
Method
test_reset_during_wait_marks_stream_and_keeps_other_events
(self)
tests/test_http2_connection.py:1830
Method
test_reset_flood_gets_enhance_your_calm
(self)
tests/test_http2_connection.py:2095
Method
test_reset_pairs_below_the_rate_limit_leave_nothing_behind
(self)
tests/test_http2_connection.py:2082
Function
test_reset_peer_toxic_is_survived
(faults_stack)
tests/docker/stress/test_faults.py:41
Method
test_reset_resolves_the_waiter
(self)
tests/test_http2_stream.py:910
Method
test_reset_stream
(self)
tests/test_http2_async_connection.py:425
Method
test_reset_stream
(self)
tests/test_http2_connection.py:418
Method
test_reset_wakes_a_window_waiter
(self)
tests/test_http2_async_connection.py:1511
Method
test_reset_wakes_reader_with_error
(self)
tests/test_http2_stream.py:876
Function
test_reset_while_the_app_reads_is_quiet
(server, client)
tests/test_http2_live.py:240
Method
test_resize_image
Test image resizing via API.
examples/celery_alternative/tests/test_integration.py:151
Method
test_resize_image
Test image resizing.
examples/celery_alternative/tests/test_tasks.py:104
Method
test_response_attributes
Test GeventResponse stores status, headers, and sent.
tests/workers/test_ggevent.py:189
Function
test_response_body_capped_at_content_length
Bytes past the app's Content-Length must not reach the wire, where a proxy reusing the connection would read them as the next response.
tests/test_asgi_keepalive_smuggling.py:273
Method
test_response_body_message_format
http.response.body format validation.
tests/test_asgi_error_handling.py:371
Function
test_response_bytes_unchanged
(http_parser, index)
tests/test_asgi_response_wire.py:168
Method
test_response_headers
(self)
tests/test_http2_async_connection.py:1388
Method
test_response_headers
Test that response headers are correctly received.
tests/docker/http2/test_http2_docker.py:298
Method
test_response_info_initial
Test initial ASGIResponseInfo values.
tests/test_asgi_error_handling.py:95
Method
test_response_info_with_headers
Test ASGIResponseInfo with headers.
tests/test_asgi_error_handling.py:105
Method
test_response_start_announces_connection_close
RFC 9112: a server that will close the connection must say so.
tests/test_asgi_worker.py:593
Method
test_response_start_keeps_app_connection_header
An app-supplied Connection header is not duplicated.
tests/test_asgi_worker.py:612
Function
test_response_start_rejects_invalid_headers
(headers)
tests/test_asgi_response_headers.py:101
Method
test_response_start_requires_status
http.response.start must have status.
tests/test_asgi_error_handling.py:360
Function
test_response_start_valid_headers_pass
()
tests/test_asgi_response_headers.py:119
Method
test_response_start_without_content_length
Test response start without Content-Length triggers chunked encoding.
tests/test_asgi_streaming.py:120
Method
test_response_trailers_default_none
Test that response_trailers defaults to None.
tests/test_http2_stream.py:783
Function
test_response_without_content_length_is_not_http_chunked
uWSGI sends raw body bytes and closes to delimit an unknown length.
tests/test_asgi_uwsgi.py:80
Method
test_response_without_content_length_is_not_http_chunked
(self)
tests/test_uwsgi.py:370
Method
test_returns_alpn_protocol
(self)
tests/test_http2_alpn.py:79
Method
test_returns_at_once_when_already_disconnected
(self)
tests/test_http2_stream.py:921
Method
test_returns_false_for_http11
(self)
tests/test_http2_alpn.py:122
Method
test_returns_false_for_non_ssl
(self)
tests/test_http2_alpn.py:132
Method
test_returns_false_for_none
(self)
tests/test_http2_alpn.py:127
Method
test_returns_http11
(self)
tests/test_http2_alpn.py:84
Method
test_returns_none_for_non_ssl_socket
(self)
tests/test_http2_alpn.py:94
Method
test_returns_none_when_not_negotiated
(self)
tests/test_http2_alpn.py:89
Method
test_returns_true_for_h2
(self)
tests/test_http2_alpn.py:117
Method
test_root_endpoint
Test root endpoint.
tests/docker/asgi_compliance/test_lifespan_compliance.py:152
Method
test_root_endpoint
Test root endpoint returns expected response.
tests/docker/asgi_compliance/test_http_compliance.py:30
Method
test_root_endpoint
Test basic GET request returns HTTP/2.
examples/http2_gevent/test_http2_gevent.py:64
Method
test_root_path_configuration
Test root_path from configuration.
tests/test_asgi_http_scope.py:77
Method
test_root_path_default
Test default root_path value.
tests/test_asgi_worker.py:794
Method
test_root_path_default_empty
Test root_path defaults to empty string.
tests/test_asgi_http_scope.py:86
Method
test_root_path_key_present
Test 'root_path' key is present.
tests/test_asgi_compliance.py:258
Method
test_root_path_only
Test root path only.
tests/test_asgi_http_scope.py:157
Method
test_root_path_setting
Test root_path configuration.
tests/test_asgi_worker.py:799
Method
test_roundtrip
Test encode/decode roundtrip.
tests/ctl/test_protocol.py:70
Method
test_route_request_app_not_loaded_error
Error response when no worker has the app.
tests/test_dirty_arbiter.py:1514
Method
test_route_request_no_workers
Test routing request when no workers available.
tests/test_dirty_arbiter.py:303
Method
test_route_request_no_workers
Test route_request when no workers available.
tests/dirty/test_arbiter_streaming.py:213
Method
test_route_request_starts_consumer
Test that route_request starts consumer if needed.
tests/dirty/test_arbiter_streaming.py:227
Method
test_route_request_starts_consumer_on_demand
Test route_request starts consumer if not exists.
tests/test_dirty_arbiter.py:1196
Method
test_route_request_timeout
Test that route_request handles timeout correctly.
tests/test_dirty_arbiter.py:588
← previous
next →
4,601–4,700 of 5,599, ranked by callers