1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 02:22:57 +01:00

43 Commits

Author SHA1 Message Date
Michael Dowling
a21d3ccb7e Merge pull request #1292 from ivank/sink-for-mock-handler
Implement "sink" for MockHandler
2015-11-15 01:29:07 -08:00
Dale Attree
1d3cfb248a Set SSL verify peer name to true when verify peer is true.
Added test for to assert verify peer name
2015-11-05 21:39:55 +02:00
Ivan Kerin
ae2536bf72 Implement "sink" for MockHandler 2015-10-30 17:56:48 +02:00
Dale Attree
3937279ba1 Update StreamHandlerTest.php
Incorrect assertion added
2015-10-27 14:45:27 +02:00
Dale Attree
52e099d3ec https://github.com/guzzle/guzzle/issues/1256
Code added to resolve issue 1256
2015-10-21 16:45:15 +02:00
EdgarPE
911bcbc8b4 Fix tests for RequestOptions::SYNCHRONOUS check in Proxy::wrapSync() 2015-09-28 10:59:51 +02:00
Daniel Wehner
e464b0198d Use ::class in tests where it was possible 2015-09-09 11:17:23 +02:00
Michael Dowling
16ccd73eee Adding tests 2015-09-06 12:51:06 -07:00
Michael Dowling
ec1f1a8b56 WIP work on on_stats 2015-09-06 12:11:56 -07:00
Bostjan Oblak
12fe5b4a9e Fix changing curl options 2015-08-18 12:24:44 +02:00
Michael Dowling
d687700d60 Cleaning up no_proxy support 2015-08-15 13:48:15 -07:00
fred
234e813cc9 Add support to sundomains and wilcards 2015-07-30 12:51:16 +02:00
fred
0f7a46213c Allow guzzle to read environment NO_PROXY variable 2015-07-28 20:00:04 +02:00
Jonathan Eskew
f9614178a7 PrepareBodyMiddleware will handle content-length when non-zero; just handle the zero case 2015-07-22 18:26:45 -07:00
Jonathan Eskew
1bf94e4f80 Add content-length header to outgoing requests if not supplied 2015-07-22 17:27:13 -07:00
Michael Dowling
ddb0b857ca Merge remote-tracking branch 'ajgarlag/decoded-content-length' into content-length 2015-07-04 12:08:36 -07:00
hw
690f7af914 Fix failure with HHVM in MockHandlerTest::testCanEnqueueCallables() due to difference in how HHVM handles parameters. 2015-06-25 11:10:28 +05:30
Michael Dowling
a1c986a4bc Adding an easier way to create a mock handler that uses default middlewares 2015-06-03 12:13:27 -07:00
Antonio J. García Lagar
33921a4f1b Fix content-length and content-encoding headers when decoding body content. 2015-06-02 18:20:33 +02:00
Antonio J. García Lagar
41d99927e8 Test content-length and content-encoding with gzipped response
When the upstream response is transfered gzipped, we must test that
the returned response has valid content-length and content-encoding
for the returned body.
2015-05-28 18:04:20 +02:00
Michael Dowling
f924ea6011 Cleanup and adding test 2015-04-30 01:03:35 -07:00
Michael Dowling
15557b1523 Refactoring to support the "on_headers" option 2015-04-30 00:59:01 -07:00
Michael Dowling
a121e36d76 Fixing content-length issue 2015-04-28 10:10:13 -07:00
Michael Dowling
8f3219abd0 Test fix 2015-04-26 22:31:07 -07:00
Michael Dowling
f5df0bcdfa Reusing handles to improve perf (even for curl multi) 2015-04-26 20:05:23 -07:00
Michael Dowling
abd33b9034 Removing maxHandles from CurlMulti. May add queueing in the future 2015-04-26 13:08:10 -07:00
Michael Dowling
a043a2414a Cleaning up curl integration 2015-04-26 12:40:53 -07:00
Michael Dowling
251954e092 Adding handler context to request exceptions 2015-04-25 15:03:28 -07:00
Michael Dowling
64f11b1219 Ensuring the file can be created before giving to curl 2015-04-25 13:25:30 -07:00
Michael Dowling
fd095f0f68 PSR-7 updates 2015-04-19 20:39:53 -07:00
Michael Dowling
1052cb23c8 Using async promise resolution. 2015-04-15 00:05:09 -07:00
Michael Dowling
363b8b44af Test fixes 2015-03-29 18:11:09 -07:00
Michael Dowling
0949947ee2 Updating docs 2015-03-28 15:33:35 -07:00
Michael Dowling
712c917843 Removing extra line 2015-03-28 14:32:54 -07:00
Michael Dowling
5c9cde3921 Throws OutOfBoundsException when no more in queue 2015-03-28 14:32:30 -07:00
Michael Dowling
aab03d40c5 Unrolling switch 2015-03-26 10:34:02 -07:00
Michael Dowling
0a3065ea46 CurlFactory tests 2015-03-26 00:30:14 -07:00
Michael Dowling
453a53767e Adding CurlMultiHandler test 2015-03-23 22:41:58 -07:00
Michael Dowling
531cf16905 Adding CurlHandler tests 2015-03-23 21:13:28 -07:00
Michael Dowling
fe13b4e663 StreamHandler tests 2015-03-23 20:33:21 -07:00
Michael Dowling
650b4c0430 Adding StreamHandler tests and updates 2015-03-23 00:16:44 -07:00
Michael Dowling
8e546cc843 Adding proxy tests 2015-03-22 20:25:18 -07:00
Michael Dowling
78ccbfb164 Adding MockHandler tests 2015-03-22 20:19:33 -07:00