Skip to content

Commit

Permalink
chore: bump version to 0.1.10 and add Content-Length header to response
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitthi committed Nov 3, 2024
1 parent b7fc352 commit e008fdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "easy-proxy"
version = "0.1.9"
version = "0.1.10"
edition = "2021"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions src/proxy/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ impl Response {
let port_str = port.unwrap_or_default();
let location = format!("https://{}{}{}", host, port_str, path);
self.header("Location", &location);
self.header("Content-Length", "0");
self
}

Expand Down

0 comments on commit e008fdf

Please sign in to comment.