izqui / Taylor

A lightweight library for writing HTTP web servers with Swift
MIT License
926 stars 79 forks source link

Split on any number of blank spaces #1

Closed daeyun closed 9 years ago

daeyun commented 9 years ago

In older versions of HTTP/1.1, any number of linear white space can be used as a delimiter in HTTP header values. While still far from robust, it's a starter.

https://www.ietf.org/rfc/rfc2616.txt http://stackoverflow.com/questions/17463676/are-multiple-linear-white-space-allowed-in-http-header