From 02bc58d83253fd3be61787bb28b6b02e3aa71092 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 10 Apr 2020 09:51:17 -0400 Subject: BREAKING: Make fetch API more web compatible (#4687) - Removes the __fetch namespace from `deno types` - Response.redirect should be a static. - Response.body should not be AsyncIterable. - Disables the deno_proxy benchmark - Makes std/examples/curl.ts buffer the body before printing to stdout --- tools/http_benchmark.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py index d5067d86b..fba11ba32 100755 --- a/tools/http_benchmark.py +++ b/tools/http_benchmark.py @@ -140,7 +140,8 @@ def http_benchmark(build_dir): "deno_tcp": deno_tcp(deno_exe), # "deno_udp": deno_udp(deno_exe), "deno_http": deno_http(deno_exe), - "deno_proxy": deno_http_proxy(deno_exe, hyper_hello_exe), + # TODO(ry) deno_proxy disabled to make fetch() standards compliant. + # "deno_proxy": deno_http_proxy(deno_exe, hyper_hello_exe), "deno_proxy_tcp": deno_tcp_proxy(deno_exe, hyper_hello_exe), # "deno_core_http_bench" was once called "deno_core_single" "deno_core_http_bench": deno_core_http_bench(deno_core_http_bench_exe), -- cgit v1.2.3