We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9665d36 commit 95e253fCopy full SHA for 95e253f
Cargo.toml
@@ -1,7 +1,7 @@
1
[package]
2
name = "pact-stub-server"
3
version = "0.6.2"
4
-edition = "2021"
+edition = "2024"
5
authors = ["Ronald Holshausen <ronald.holshausen@gmail.com>"]
6
description = "Standalone pact stub server"
7
homepage = "https://www.pact.io"
src/pact_support.rs
@@ -75,7 +75,7 @@ pub fn pact_response_to_hyper_response(response: &HttpResponse) -> Result<HyperR
75
}
76
77
match &response.body {
78
- OptionalBody::Present(ref body, content_type, _) => {
+ OptionalBody::Present(body, content_type, _) => {
79
let content_type_header = CONTENT_TYPE;
80
if !response.has_header(content_type_header.as_str()) {
81
let content_type = content_type.clone()
0 commit comments