Allow profiling of Http requests
authorChad Horohoe <chadh@wikimedia.org>
Fri, 27 Feb 2015 16:35:22 +0000 (08:35 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Wed, 4 Mar 2015 04:54:24 +0000 (20:54 -0800)
commit7ee5b7d23bce8c084780499cf763e6c3b7e35541
treeb880b1de39498894beaa0a4729d3b15d35291f7c
parent750e4eb9d9517da68a4df08bf50a9a360dafeb05
Allow profiling of Http requests

Http::get/set/request() now all take a new $caller parameter
which is like $fname in databases. Pass it __METHOD__ so all
of your external requests can be grouped together in profiling.

Change-Id: Ibad219452903a9678378044595cff1231bf605d8
includes/HttpFunctions.php
tests/phpunit/includes/HttpTest.php