Skip to content

Commit

Permalink
temporary(relay): fixup with previous commit if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed Feb 7, 2025
1 parent a4239d2 commit 6f08039
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions mithril-relay/src/relay/aggregator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,9 @@ mod tests {
.expect("Accept-Encoding header not found");

let header_value = accept_encoding_header.clone().1;
header_value.contains("gzip")
&& header_value.contains("br")
&& header_value.contains("deflate")
&& header_value.contains("zstd")
["gzip", "br", "deflate", "zstd"]
.iter()
.all(|&value| header_value.contains(value))
});

then.status(201).body("ok");
Expand Down
7 changes: 3 additions & 4 deletions mithril-relay/src/relay/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,9 @@ mod tests {
.expect("Accept-Encoding header not found");

let header_value = accept_encoding_header.clone().1;
header_value.contains("gzip")
&& header_value.contains("br")
&& header_value.contains("deflate")
&& header_value.contains("zstd")
["gzip", "br", "deflate", "zstd"]
.iter()
.all(|&value| header_value.contains(value))
});

then.status(200).body("ok");
Expand Down

0 comments on commit 6f08039

Please sign in to comment.