socketry / async-http

MIT License
298 stars 45 forks source link

Allow numbers in HTTP header names #9

Closed janko closed 6 years ago

janko commented 6 years ago

When requesting an AWS S3 object, some response headers that are returned have numbers in them. So, it seems that numbers are valid in HTTP header names, therefore we allow them.

Fixes #8

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 89.134% when pulling 66b6e6f7dfc93ddb5c3fd847982b5be191ef8e86 on allow-numbers-in-header-names into 971e4b84464a7db82aa16b0e6af40ba38a73d92f on master.

ioquatix commented 6 years ago

Doh thanks for this :)