aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f50fbdc..b4c6d6a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -124,6 +124,7 @@ pub async fn filter_request(
let upstream_req = Request::builder()
.uri(upstream_uri)
.method(&parts.method)
+ .header("Content-Type", "application/json; charset=UTF-8")
.body(body)
.expect("constructing upstream request");