resourceloader: Always send headers with a 304 response
authorRoan Kattouw <roan.kattouw@gmail.com>
Thu, 18 Jul 2013 17:52:23 +0000 (10:52 -0700)
committerKrinkle <krinklemail@gmail.com>
Tue, 28 Apr 2015 18:25:23 +0000 (18:25 +0000)
commita4379d8f9e06bbf28d43525978043cb447566fee
tree67e7285c89821b81bb0da8b3a123f43d0418d58b
parenta129edcc5ed3d11fc088d6ca559b03c11313883f
resourceloader: Always send headers with a 304 response

There was a code path that sent plain 304s without Expires or any
other headers. Fix this by moving the call to sendResponseHeaders()
into tryLastModified().

Bug: 51283
Change-Id: I15d13c5d32102f53bf3e3aaac01d76967e968f78
RELEASE-NOTES-1.26
includes/resourceloader/ResourceLoader.php