1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

resolve issue 139

This commit is contained in:
Arve Seljebu
2019-06-10 18:06:56 +02:00
parent 7373a5b1ef
commit 114056bc76
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ fn streaming(
) -> impl Future<Item = HttpResponse, Error = impl Into<Error>> {
// send client request
client
.get("https://www.rust-lang.org/en-US/")
.get("https://www.rust-lang.org/")
.send() // <- connect to host and send request
.map_err(Error::from) // <- convert SendRequestError to an Error
.and_then(|resp| {