mirror of
https://git.asonix.dog/asonix/http-signature-normalization.git
synced 2024-11-24 10:21:00 +00:00
Debug hm pieces
This commit is contained in:
parent
7db643fc0c
commit
09f189c1f4
2 changed files with 4 additions and 0 deletions
|
@ -22,3 +22,4 @@ members = [
|
|||
[dependencies]
|
||||
chrono = "0.4"
|
||||
thiserror = "1.0"
|
||||
log = "0.4"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//! Types and methods to verify a signature or authorization header
|
||||
use chrono::{DateTime, Duration, TimeZone, Utc};
|
||||
use log::debug;
|
||||
use std::{
|
||||
collections::{BTreeMap, HashMap, HashSet},
|
||||
error::Error,
|
||||
|
@ -260,6 +261,8 @@ impl FromStr for ParsedHeader {
|
|||
})
|
||||
.collect();
|
||||
|
||||
debug!("pieces {:?}", hm);
|
||||
|
||||
Ok(ParsedHeader {
|
||||
signature: hm
|
||||
.remove(SIGNATURE_FIELD)
|
||||
|
|
Loading…
Reference in a new issue