From e07bbfe01c843e8c01f29b2029266220e3eac1f1 Mon Sep 17 00:00:00 2001 From: zeljic Date: Sun, 12 May 2019 23:11:58 +0200 Subject: [PATCH] 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 68a7d815..4ab76df8 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()); } - client_resp.streaming(res) + HttpResponse::Ok().streaming(res) }) }