mirror of
https://git.asonix.dog/asonix/http-signature-normalization.git
synced 2024-11-24 18:31:01 +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]
|
[dependencies]
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
|
log = "0.4"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
//! Types and methods to verify a signature or authorization header
|
//! Types and methods to verify a signature or authorization header
|
||||||
use chrono::{DateTime, Duration, TimeZone, Utc};
|
use chrono::{DateTime, Duration, TimeZone, Utc};
|
||||||
|
use log::debug;
|
||||||
use std::{
|
use std::{
|
||||||
collections::{BTreeMap, HashMap, HashSet},
|
collections::{BTreeMap, HashMap, HashSet},
|
||||||
error::Error,
|
error::Error,
|
||||||
|
@ -260,6 +261,8 @@ impl FromStr for ParsedHeader {
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
|
debug!("pieces {:?}", hm);
|
||||||
|
|
||||||
Ok(ParsedHeader {
|
Ok(ParsedHeader {
|
||||||
signature: hm
|
signature: hm
|
||||||
.remove(SIGNATURE_FIELD)
|
.remove(SIGNATURE_FIELD)
|
||||||
|
|
Loading…
Reference in a new issue