filebackend: Added supported for retrieving file metadata/headers
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 30 Sep 2013 07:12:10 +0000 (00:12 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 8 Jan 2014 21:22:11 +0000 (13:22 -0800)
commitac14c1c8a65d154f7a9bc47d1b51f6db67188f86
treed581f21014ede6fcd8b53a0a9489adef76b5cabf
parentb8ef0a54700fca3fb6d119cedb657c28df926906
filebackend: Added supported for retrieving file metadata/headers

* This can be useful for carrying over metadata when copying files around
* Also fixed a bug in sanitizeHdrs() for Swift (broken content-disposition)

Change-Id: I4534e9acac2b306086797b3677f85c05b98e39fc
includes/filebackend/FileBackend.php
includes/filebackend/FileBackendMultiWrite.php
includes/filebackend/FileBackendStore.php
includes/filebackend/SwiftFileBackend.php
tests/phpunit/includes/filebackend/FileBackendTest.php