v0.31.5
This commit is contained in:
1 parent
d942c1a35d
commit
75104f87ba
103 files changed
+1344
-370
No files matched your search
@@ -16,7 +16,9 @@ async fn panel_chooses_zstd_brotli_gzip_by_quality_and_support() {
|
||||
assert!(!plain.headers().contains_key(header::CONTENT_ENCODING));
|
||||
let source = plain.into_body().collect().await.unwrap().to_bytes();
|
||||
assert!(std::str::from_utf8(&source).unwrap().contains("id=\"app-startup\""));
|
||||
assert!(std::str::from_utf8(&source).unwrap().contains(env!("CARGO_PKG_VERSION")));
|
||||
assert!(std::str::from_utf8(&source).unwrap().contains(super::super::asset_build_id()));
|
||||
assert!(std::str::from_utf8(&source).unwrap().contains(&format!("RustProxy <b>{}</b>", env!("CARGO_PKG_VERSION"))));
|
||||
assert!(!std::str::from_utf8(&source).unwrap().contains("__RUSTPROXY_VERSION__"));
|
||||
for (accept, selected) in [
|
||||
("gzip, br, zstd", "zstd"),
|
||||
("gzip, br", "br"),
|
||||
|
||||
Reference in new issue
Block a user