Fix ToHeaderDictionary in HttpSignature
This commit is contained in:
parent
6a80e503d9
commit
c207d77d51
1 changed files with 3 additions and 2 deletions
|
@ -86,7 +86,8 @@ public static class HttpSignature {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static HeaderDictionary ToHeaderDictionary(this HttpRequestHeaders headers) {
|
private static HeaderDictionary ToHeaderDictionary(this HttpRequestHeaders headers) {
|
||||||
return new HeaderDictionary(headers.ToDictionary(p => p.Key, p => new StringValues(p.Value.ToArray())));
|
return new HeaderDictionary(headers.ToDictionary(p => p.Key.ToLowerInvariant(),
|
||||||
|
p => new StringValues(p.Value.ToArray())));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static HttpSignatureHeader Parse(string header) {
|
public static HttpSignatureHeader Parse(string header) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue