From f1c8a55b7a7ae533236564a195037128804445e6 Mon Sep 17 00:00:00 2001 From: Dean Li Date: Sun, 21 Feb 2021 16:55:17 +0800 Subject: Allow set custom headers from CLI --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index c0af4f3..537b215 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,7 @@ actix-files = "0.5" actix-multipart = "0.3.0" actix-web-httpauth = "0.5.0" mime = "0.3" +httparse = "1.3.5" [dev-dependencies] assert_cmd = "1.0" -- cgit v1.2.3 From 7b4402238a19f187321a68088e6542d8d5fa8572 Mon Sep 17 00:00:00 2001 From: Dean Li Date: Mon, 22 Feb 2021 12:11:11 +0800 Subject: Move the parsing header logic to args.rs --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 537b215..cc4d5fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ actix-files = "0.5" actix-multipart = "0.3.0" actix-web-httpauth = "0.5.0" mime = "0.3" -httparse = "1.3.5" +httparse = "1" [dev-dependencies] assert_cmd = "1.0" -- cgit v1.2.3 From 956ce204b4bda191c441fe5c4d385baa92c82b3e Mon Sep 17 00:00:00 2001 From: Dean Li Date: Mon, 22 Feb 2021 14:11:18 +0800 Subject: Multiple headers support for custom headers --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index cc4d5fc..4d7201a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,6 +46,8 @@ actix-multipart = "0.3.0" actix-web-httpauth = "0.5.0" mime = "0.3" httparse = "1" +http = "0.2.3" +bytes = "1" [dev-dependencies] assert_cmd = "1.0" -- cgit v1.2.3