Definition at line 9 of file HttpTest.php.
HttpTest::runCookieRequests | ( | ) |
Definition at line 531 of file HttpTest.php.
References $serialized, and HttpRequest::factory().
Referenced by testCookieRequestCurl(), testCookieRequestDefault(), and testCookieRequestPhp().
HttpTest::runHTTPFailureChecks | ( | ) |
Definition at line 102 of file HttpTest.php.
References Http::$httpEngine, and HttpRequest::factory().
Referenced by testFailureCurl(), testFailureDefault(), and testFailurePhp().
HttpTest::runHTTPGets | ( | $ | proxy = null |
) |
Definition at line 235 of file HttpTest.php.
References Http::$httpEngine, $proxy, and Http::get().
Referenced by runProxyRequests(), testGetCurl(), testGetDefault(), and testGetPhp().
HttpTest::runHTTPPosts | ( | $ | proxy = null |
) |
Definition at line 274 of file HttpTest.php.
References Http::$httpEngine, $proxy, and Http::post().
Referenced by runProxyRequests(), testPostCurl(), testPostDefault(), and testPostPhp().
HttpTest::runHTTPRequests | ( | $ | proxy = null |
) |
Definition at line 152 of file HttpTest.php.
References Http::$httpEngine, $proxy, and Http::request().
Referenced by runProxyRequests(), testRequestCurl(), testRequestDefault(), and testRequestPhp().
HttpTest::runProxyRequests | ( | ) |
Definition at line 314 of file HttpTest.php.
References runHTTPGets(), runHTTPPosts(), and runHTTPRequests().
Referenced by testProxyCurl(), testProxyDefault(), and testProxyPhp().
HttpTest::setup | ( | ) |
Definition at line 27 of file HttpTest.php.
References $content, $headers, $out, wfIniGetBool(), and wfTempDir().
HttpTest::testCookieJarSetCookie | ( | ) |
Definition at line 452 of file HttpTest.php.
HttpTest::testCookieRequestCurl | ( | ) |
HttpTest::testCookieRequestDefault | ( | ) |
HttpTest::testCookieRequestPhp | ( | ) |
HttpTest::testFailureCurl | ( | ) |
Definition at line 140 of file HttpTest.php.
References Http::$httpEngine, and runHTTPFailureChecks().
HttpTest::testFailureDefault | ( | ) |
Definition at line 126 of file HttpTest.php.
References Http::$httpEngine, and runHTTPFailureChecks().
HttpTest::testFailurePhp | ( | ) |
Definition at line 131 of file HttpTest.php.
References Http::$httpEngine, and runHTTPFailureChecks().
HttpTest::testGetCurl | ( | ) |
HttpTest::testGetDefault | ( | ) |
HttpTest::testGetPhp | ( | ) |
HttpTest::testInstantiation | ( | ) |
Definition at line 73 of file HttpTest.php.
References Http::$httpEngine, and HttpRequest::factory().
HttpTest::testIsLocalUrl | ( | ) |
Definition at line 351 of file HttpTest.php.
HttpTest::testIsValidUrl | ( | ) |
Definition at line 358 of file HttpTest.php.
HttpTest::testParseResponseHeader | ( | ) |
Definition at line 502 of file HttpTest.php.
HttpTest::testPostCurl | ( | ) |
HttpTest::testPostDefault | ( | ) |
HttpTest::testPostPhp | ( | ) |
HttpTest::testProxyCurl | ( | ) |
HttpTest::testProxyDefault | ( | ) |
HttpTest::testProxyPhp | ( | ) |
HttpTest::testRequestCurl | ( | ) |
HttpTest::testRequestDefault | ( | ) |
HttpTest::testRequestPhp | ( | ) |
HttpTest::testSetCooke | ( | ) |
Definition at line 386 of file HttpTest.php.
HttpTest::testUserAgent | ( | ) |
Definition at line 355 of file HttpTest.php.
HttpTest::testValidateCookieDomain | ( | ) |
HttpTest::$content [static] |
HttpTest::$has_curl [static] |
Definition at line 12 of file HttpTest.php.
HttpTest::$has_fopen [static] |
Definition at line 13 of file HttpTest.php.
HttpTest::$has_proxy = false [static] |
Definition at line 14 of file HttpTest.php.
HttpTest::$headers [static] |
HttpTest::$proxy = "http://hulk:8080/" [static] |
Definition at line 15 of file HttpTest.php.
Referenced by runHTTPGets(), runHTTPPosts(), and runHTTPRequests().
HttpTest::$test_geturl |
Initial value:
array( "http://www.example.com/", "http://pecl.php.net/feeds/pkg_apc.rss", "http://toolserver.org/~jan/poll/dev/main.php?page=wiki_output&id=3", "http://meta.wikimedia.org/w/index.php?title=Interwiki_map&action=raw", "http://www.mediawiki.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:MediaWiki_hooks&format=php", )
Definition at line 16 of file HttpTest.php.
HttpTest::$test_posturl = array( "http://www.comp.leeds.ac.uk/cgi-bin/Perl/environment-example" => "review=test" ) |
Definition at line 25 of file HttpTest.php.
HttpTest::$test_requesturl = array( "http://en.wikipedia.org/wiki/Special:Export/User:MarkAHershberger" ) |
Definition at line 23 of file HttpTest.php.