Browse Source

Fix typo in http signature validation

pull/89/head
Toromino 3 months ago
parent
commit
bfbe2e5c61
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/web/http_signatures.rs

+ 1
- 1
src/web/http_signatures.rs View File

@@ -35,7 +35,7 @@ impl Signature {
35 35
         for header in self.headers {
36 36
             match header.as_str() {
37 37
                 "(request-target)" => signature.push(format!(
38
-                    "(request_target): post {}",
38
+                    "(request-target): post {}",
39 39
                     self.request_target.as_ref().unwrap()
40 40
                 )),
41 41
                 "content-length" => signature.push(format!(

Loading…
Cancel
Save