Skip to content

Commit 20517ab

Browse files
authored
fix(http): correct assignment of response header (#1512)
Signed-off-by: chlins <chlins.zhang@gmail.com>
1 parent de836c1 commit 20517ab

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ members = [
1313
]
1414

1515
[workspace.package]
16-
version = "1.1.5"
16+
version = "1.1.6"
1717
authors = ["The Dragonfly Developers"]
1818
homepage = "https://d7y.io/"
1919
repository = "https://github.com/dragonflyoss/client.git"
@@ -23,14 +23,14 @@ readme = "README.md"
2323
edition = "2021"
2424

2525
[workspace.dependencies]
26-
dragonfly-client = { path = "dragonfly-client", version = "1.1.5" }
27-
dragonfly-client-core = { path = "dragonfly-client-core", version = "1.1.5" }
28-
dragonfly-client-config = { path = "dragonfly-client-config", version = "1.1.5" }
29-
dragonfly-client-storage = { path = "dragonfly-client-storage", version = "1.1.5" }
30-
dragonfly-client-backend = { path = "dragonfly-client-backend", version = "1.1.5" }
31-
dragonfly-client-metric = { path = "dragonfly-client-metric", version = "1.1.5" }
32-
dragonfly-client-util = { path = "dragonfly-client-util", version = "1.1.5" }
33-
dragonfly-client-init = { path = "dragonfly-client-init", version = "1.1.5" }
26+
dragonfly-client = { path = "dragonfly-client", version = "1.1.6" }
27+
dragonfly-client-core = { path = "dragonfly-client-core", version = "1.1.6" }
28+
dragonfly-client-config = { path = "dragonfly-client-config", version = "1.1.6" }
29+
dragonfly-client-storage = { path = "dragonfly-client-storage", version = "1.1.6" }
30+
dragonfly-client-backend = { path = "dragonfly-client-backend", version = "1.1.6" }
31+
dragonfly-client-metric = { path = "dragonfly-client-metric", version = "1.1.6" }
32+
dragonfly-client-util = { path = "dragonfly-client-util", version = "1.1.6" }
33+
dragonfly-client-init = { path = "dragonfly-client-init", version = "1.1.6" }
3434
dragonfly-api = "=2.1.87"
3535
thiserror = "2.0"
3636
futures = "0.3.31"

dragonfly-client-backend/src/http.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ impl super::Backend for HTTP {
319319
Ok(super::HeadResponse {
320320
success: response_status_code.is_success(),
321321
content_length: response_content_length,
322-
http_header: Some(request_header),
322+
http_header: Some(response_header),
323323
http_status_code: Some(response_status_code),
324324
error_message: Some(response_status_code.to_string()),
325325
entries: Vec::new(),

0 commit comments

Comments
 (0)