From e771c058151873e8f838f1c607041baa831a8c94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90or=C4=91e=20Zelji=C4=87?= Date: Thu, 16 May 2019 00:03:08 +0200 Subject: [PATCH] Revert "fix streaming issue in http-full-proxy example" --- http-full-proxy/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-full-proxy/src/main.rs b/http-full-proxy/src/main.rs index 4ab76df8..68a7d815 100644 --- a/http-full-proxy/src/main.rs +++ b/http-full-proxy/src/main.rs @@ -32,7 +32,7 @@ fn forward( { client_resp.header(header_name.clone(), header_value.clone()); } - HttpResponse::Ok().streaming(res) + client_resp.streaming(res) }) }