linkedin / flashback

mock the internet
BSD 2-Clause "Simplified" License
578 stars 54 forks source link

Support for single-value headers with a comma #26

Closed rickle-msft closed 6 years ago

rickle-msft commented 6 years ago

Some headers, such as Date, which, per the HTTP spec, is in RFC 1123 format, are single valued but contain a comma in them. The current method for supporting multi-valued headers splits on commas, which breaks this scenario. Instead of grouping multi-valued headers into one, comma-separated list, we propose maintaining them as separate key-value pairs.

sf1152 commented 6 years ago

Fixed by @rickle-msft