cakephp2-php8/lib/Cake/Test/Case/Network/Http
mark_story 1a170e1eec Fix parsing empty header values.
Replace the complex and somewhat unfixable regexp based parser for
a parser that handles each line individually. Normalize multi-line
headers to replace multiple spaces with a single one. Section 4.2 of the
HTTP1.1 standard states

> Any LWS that occurs between field-content MAY be replaced with
> a single SP before interpreting the field value or forwarding the
> message downstream.

This makes me somewhat confident that we can safely normalize
multi-line HTTP header values.

Refs #8330
2016-02-24 22:25:58 -05:00
..
BasicAuthenticationTest.php PHPCS fixes 2015-12-15 19:58:11 +01:00
DigestAuthenticationTest.php Correct doc blocks according to cs guidelines. 2014-07-03 15:36:42 +02:00
HttpResponseTest.php Fix parsing empty header values. 2016-02-24 22:25:58 -05:00
HttpSocketTest.php Move SSL context options into CakeSocket. 2015-10-12 21:56:20 -04:00