aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index d62bb36..761c020 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -45,7 +45,7 @@ async fn upstream_req(
// regardless of the response type (error or upstream response), add HTTP headers
resp.headers_mut()
- .insert("Via", HeaderValue::from_static("1.1 es-public-proxy"));
+ .insert("Via", HeaderValue::from_static("HTTP/1.1 es-public-proxy"));
if config.enable_cors == Some(true) {
resp.headers_mut()
.insert("Access-Control-Allow-Origin", HeaderValue::from_static("*"));