1
0
Fork 0
Commit Graph

30 Commits (eac03e16e7213e2ddc7e73818e91a0f21e571bda)

Author SHA1 Message Date
Ion Bazan a2137d5263 use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
Gabriel Caruso afc9a7643e Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-30 13:44:43 -02:00
croensch 6da92e98ac also support NO_PROXY
since WINDOWS can only have one case and that is usually upperase
2017-10-12 16:35:05 +02:00
Jordi Boggiano 122e422682 CS fixes 2017-03-08 15:16:44 +01:00
Jordi Boggiano fbab2bfa17 Move user agent definition to StreamContextFactory so it is available in all contexts 2015-11-23 15:12:33 +00:00
Jordi Boggiano ce08582671 Fix CS 2015-09-28 10:53:24 +01:00
Possum 29ca21f30e PHP version checks tweaking 2015-05-05 20:18:24 +02:00
Jordi Boggiano da881c118b Fix failures 2014-12-12 13:15:34 +00:00
Jordi Boggiano 8dad846613 Add SNI settings for SSL URLs that are proxied, fixes #3204 2014-12-12 12:25:21 +00:00
Jordi Boggiano 7b13507dd4 Fix typo in test 2014-12-11 21:52:29 +00:00
Jordi Boggiano 4a6503fe36 Add suppor for https_proxy, fixes #3204 2014-12-11 17:42:55 +00:00
Jordi Boggiano ac497feaba CS fixes 2014-06-10 16:13:12 +02:00
Jordi Boggiano 08243ce2e3 Fix handling of urlencoded user and password in proxy urls, fixes #2339 2013-10-18 11:35:57 +02:00
Nils Adermann 565f86f30d Fix stream context option test to really only verify content-type is last 2013-10-14 17:53:02 -07:00
Jordi Boggiano b4c0b18896 Add tests, refs #2017 2013-08-12 00:52:16 +02:00
Jordi Boggiano 55927f983a Remove author to fix phpunit group detection 2013-06-13 13:37:35 +02:00
Jordi Boggiano 93d37833dc Fix tests 2013-05-30 15:28:38 +02:00
Jordi Boggiano 1debe22412 Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946, fixes #1839 2013-05-30 14:59:02 +02:00
Jordi Boggiano 784dd0aad0 Fix tests 2013-04-05 12:58:50 +02:00
Markus Tacker 821f57f443 A bug in PHP prevents the headers from correctly beeing sent when a content-type header is present and
NOT at the end of the array

https://bugs.php.net/bug.php?id=61548

This updates fixes the array by moving the content-type header to the end
2013-02-27 17:07:13 +01:00
Jordi Boggiano 7aab7c6297 Fix StreamContextFactory tests 2012-10-21 17:57:16 +02:00
Jordi Boggiano 072f4397a0 Fix default options handling in StreamContextFactory 2012-05-06 13:50:18 +02:00
Maxim Chernyshev 5294cb222c Precious community feedback-based refactoring 2012-05-02 17:21:58 +08:00
Maxim Chernyshev 37476eb61f Fixed indentation 2012-05-02 09:30:27 +08:00
Maxim Chernyshev 8918551f29 Simplified proxy port determination and passed tests 2012-05-02 09:22:59 +08:00
Maxim Chernyshev 2ca50a1ef3 Merged in upstream 2012-05-02 08:36:05 +08:00
Maxim Chernyshev 419a1cedf0 Proxy credentials are now passed as part of HTTP headers 2012-05-02 08:26:27 +08:00
Danny Berger e7ba0c38a8 Add default http(s) ports to proxy configuration if they are missing. 2012-04-26 21:38:12 -04:00
Jordi Boggiano 45b2165057 Fix tests 2012-03-20 14:37:14 +01:00
Martin Hasoň 492e672b23 Added tests for StreamContextFactory 2012-03-05 08:51:54 +01:00