1
0
mirror of https://github.com/actix/examples synced 2025-02-25 18:42:50 +01:00

fix streaming issue in http-full-proxy example

This commit is contained in:
zeljic 2019-05-12 23:11:58 +02:00
parent cee9142257
commit e07bbfe01c

View File

@ -32,7 +32,7 @@ fn forward(
{ {
client_resp.header(header_name.clone(), header_value.clone()); client_resp.header(header_name.clone(), header_value.clone());
} }
client_resp.streaming(res) HttpResponse::Ok().streaming(res)
}) })
} }