Commit d82d880e authored by Shani Elharrar's avatar Shani Elharrar

Fixed headers to be non-case-sensetive

parent d6479177
......@@ -46,7 +46,7 @@ namespace uhttpsharp.RequestProviders
headersRaw.Add(headerKvp);
}
IHttpHeaders headers = new HttpHeaders(headersRaw.ToDictionary(k => k.Key, k => k.Value));
IHttpHeaders headers = new HttpHeaders(headersRaw.ToDictionary(k => k.Key, k => k.Value, StringComparer.InvariantCultureIgnoreCase));
IHttpPost post = await GetPostData(streamReader, headers).ConfigureAwait(false);
return new HttpRequest(headers, httpMethod, httpProtocol, uri,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment