Fix exception on certain http failures
authorBill Pirkle <bpirkle@wikimedia.org>
Fri, 14 Dec 2018 21:55:28 +0000 (15:55 -0600)
committerBill Pirkle <bpirkle@wikimedia.org>
Fri, 14 Dec 2018 21:55:28 +0000 (15:55 -0600)
commit9cdbf73c9c8c78f538d387521f55f8dc1a84451c
tree0f332a68a76874846e459ebf857bbf29867b8ce9
parent9abb3e7d988a2bb4cf5a1100daf0ade654f60292
Fix exception on certain http failures

Task T202110 included a change to recognize an HTTP status code
of 0 (zero) as an error, but it failed to set a status message,
resulting in an exception.  Changed to set a status message of
'Error' so that required value is not empty.

Bug: T212005
Change-Id: I5fb78555bfcaeccdd726432f4dfc70924a385c41
includes/http/MWHttpRequest.php