1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 06:39:22 +02:00

use new gzdecoder, fixes gz streaming #228

This commit is contained in:
Nikolay Kim
2018-07-31 09:06:05 -07:00
parent 4dba531bf9
commit 3bd43090fb
4 changed files with 32 additions and 99 deletions

View File

@ -438,7 +438,7 @@ fn test_default_headers() {
let repr = format!("{:?}", request);
assert!(repr.contains("\"accept-encoding\": \"gzip, deflate\""));
assert!(repr.contains(concat!(
"\"user-agent\": \"Actix-web/",
"\"user-agent\": \"actix-web/",
env!("CARGO_PKG_VERSION"),
"\""
)));