Normalize header case for FileBackend operations
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 27 Oct 2015 19:21:30 +0000 (12:21 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 27 Oct 2015 19:34:35 +0000 (12:34 -0700)
commit642ca3862ba1a3b6cbd26db21f30caa2249bb8e4
tree9ea032fb94a350d27ee30b01a5f2ca1e19ef2370
parent8f15bc8ec9e15bca8c19490ccaa45f805d54a035
Normalize header case for FileBackend operations

Normalize all headers to lower case at the start of the
FileBackend operation methods. This makes it easy for
subclasses to check for certain headers, e.g. content-type.

Change-Id: Ia69976326d17a51bcaa61f2781aa669ae7bd9c28
includes/filebackend/FileBackendStore.php
tests/phpunit/includes/filebackend/FileBackendTest.php