Set api-request log http.request_headers properly
authorAndrew Otto <acotto@gmail.com>
Mon, 4 Mar 2019 20:47:01 +0000 (15:47 -0500)
committerAndrew Otto <acotto@gmail.com>
Mon, 4 Mar 2019 21:12:39 +0000 (16:12 -0500)
commite453a7b33ff8b5c9cd514f2506ff6fd86ee1a0a3
tree3a758e0c270e4f72c63acb522fd13381cde21fda
parent9dafc1c322d12fe7aa33bb50276e45ebfd6ac4f4
Set api-request log http.request_headers properly

$request->getHeader( 'Api-user-agent' ) was returning false,
and we can only accept string header values.

Bug: T214080
Change-Id: I3de8a455ad7dab9e3a67e24439e95f4968c93243
includes/api/ApiMain.php