HTTPnet icon indicating copy to clipboard operation
HTTPnet copied to clipboard

Case insensitive headers

Open messani opened this issue 6 years ago • 1 comments

Headers in http request should be case insensitive. Header is parsed in file RawHttpRequestReader.cs. I think that dictionary for headers should be case insensitive. Somethink like this:

var headers = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);

messani avatar Mar 21 '18 14:03 messani

Hi, I am working on this library at the moment and will add this change. Best regards Christian

chkr1011 avatar Apr 12 '18 22:04 chkr1011