Make headers in FauxRequest case insensitive
authordaniel <daniel.kinzler@wikimedia.de>
Fri, 31 May 2013 13:43:31 +0000 (15:43 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Mon, 3 Jun 2013 14:23:11 +0000 (16:23 +0200)
commit1da2dd79830ee5474086929bea34291841eebc17
tree405952a68ef55daff08d3b0b62f4e08748749857
parentd982b2d556adab7b6a6e5f2f69adc2494ca2bf69
Make headers in FauxRequest case insensitive

HTTP headers are case insensitive per spec, and WebRequest
treats them like that, so FauxRequest should too.

Change-Id: I4257af7a8de2792ac556c670dcc7f28e4af4cb44
includes/WebRequest.php
includes/WebResponse.php
tests/phpunit/includes/FauxRequestTest.php [new file with mode: 0644]
tests/phpunit/includes/FauxResponseTest.php