1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 18:13:00 +01:00

1025 Commits

Author SHA1 Message Date
Michael Dowling
de780704e1 React promises 2014-10-02 00:42:11 -07:00
Michael Dowling
bfef02f98b Ensuring that futures are created or not created based on the future request attribute 2014-10-01 17:24:47 -07:00
Michael Dowling
244bf0228e Using getHeaderAsArray 2014-10-01 08:52:45 -07:00
Michael Dowling
175fbc8023 Updating to use interface changes 2014-09-30 10:52:33 -07:00
Michael Dowling
dbb6a30041 Don't deref cancelled responses 2014-09-23 17:15:41 -07:00
Michael Dowling
10c903624c Adding a cancelled response class 2014-09-23 01:20:28 -07:00
Michael Dowling
4e4885badd Cleaning up the FSM to use an explicity intercept state transition 2014-09-22 15:51:57 -07:00
Michael Dowling
8239d99b16 Adding an afterDelay param to retry 2014-09-21 20:47:47 -07:00
Michael Dowling
5c99390356 Fixing version number test issue 2014-09-21 19:01:44 -07:00
Michael Dowling
931d47b3e0 Adding tests, adding retry to FSM, fixing History, fixing Redirects. 2014-09-21 18:39:23 -07:00
Michael Dowling
7c6da0f94a Adding Request FSM tests 2014-09-21 15:30:43 -07:00
Michael Dowling
8441a7dafe Updating tests 2014-09-21 14:09:04 -07:00
Michael Dowling
8373fc49fd Ensuring redirect "end" is called only onect 2014-09-21 12:05:30 -07:00
Michael Dowling
9fbaa532e6 Cleaning up ring responses, adding guard to ensure toString does not throw 2014-09-21 12:03:37 -07:00
Michael Dowling
1bc8637215 Cleaning up tests and adding more ring checks 2014-09-20 17:58:21 -07:00
Michael Dowling
21956b5bc6 Lots of cleanup.
Adding tests.
Not emitting multiple "end" events when redirecting.
Moving wrapException to a public function.
Fixing Pool so that it works with completed  mocked futures.
Added a BatchResults class.
2014-09-20 17:11:47 -07:00
Michael Dowling
4dd980b759 Emitting complete when intercepted in before. Adding a max transition number. 2014-09-20 14:24:09 -07:00
Michael Dowling
2c4fe7a9a8 Fixing RequestException tests 2014-09-20 14:11:40 -07:00
Michael Dowling
0d76f065db Adding FSM tests 2014-09-20 14:10:48 -07:00
Michael Dowling
95d7473d9e Adding another test 2014-09-18 22:39:23 -07:00
Michael Dowling
123fdd4d1a Tracking exceptions in the transaction 2014-09-18 22:20:14 -07:00
Michael Dowling
52ce973852 Using the updated trait 2014-09-17 23:19:27 -07:00
Michael Dowling
4def2f4cd7 Unused use 2014-09-17 15:51:56 -07:00
Michael Dowling
d3949970eb Adding ring to guzzle request, fixing server, and adding test 2014-09-17 15:43:53 -07:00
Michael Dowling
c579e8165a Adding more tests 2014-09-17 15:23:01 -07:00
Michael Dowling
0337b7848a Adding a RingBridge for better separation 2014-09-17 14:21:40 -07:00
Michael Dowling
8fe3124bd9 Not overwriting existing default UA header 2014-09-17 13:15:56 -07:00
Michael Dowling
4105eb75c2 Ensuring exceptions are thrown when dereferencing 2014-09-16 23:21:53 -07:00
Michael Dowling
75e8893f88 Fixing pool, throwing exceptions correctly, not setting config value unless needed 2014-09-16 21:49:36 -07:00
Michael Dowling
8fdbeac09c Do not realize future responses immediately when injected into an event. Allows for Mocks to use futures 2014-09-15 15:27:03 -07:00
Michael Dowling
303d753c9f FutureResponse does not need a full transaction. Just a response please 2014-09-15 15:06:46 -07:00
Michael Dowling
cee099a079 Moving batch to Pool. Updating docs. Removing throwImmediately 2014-09-14 12:27:53 -07:00
Michael Dowling
447504d162 Adding convenience function to pool 2014-09-14 11:06:03 -07:00
Michael Dowling
1b9d5b3370 Fixing pool cancellation and adding tests 2014-09-14 10:29:43 -07:00
Michael Dowling
989f32807a Using the BaseFutureTrait 2014-09-12 16:24:02 -07:00
Michael Dowling
52a8595c76 Adding missing coverage 2014-09-12 14:47:15 -07:00
Michael Dowling
b7a2f6f055 Using FutureInterface and adding the ability to cancel a future response 2014-09-12 00:25:18 -07:00
Michael Dowling
62b57512a7 Adding the ability to add custom request options 2014-09-10 21:28:21 -07:00
Michael Dowling
91df3a306b Updating for new streams changes 2014-09-10 17:13:42 -07:00
Michael Dowling
40855d7d4f Adding future test to perf script 2014-09-08 21:35:13 -07:00
Michael Dowling
97e4fe8260 Returning an array rather than SplObjectStorage 2014-09-08 21:35:12 -07:00
Michael Dowling
ef0c3c1d56 Updating to use guzzle streams 3.0 2014-09-08 21:35:11 -07:00
Michael Dowling
15defe7bec Rounding out test coverage 2014-09-08 21:35:11 -07:00
Michael Dowling
e4b1486fd9 Adding more test coverage 2014-09-08 21:35:11 -07:00
Michael Dowling
668209c895 Getting tests working again. Removing more fluent interfaces.
Removing more fluent interfaces to make it easier to decorate
classes.
2014-09-08 21:35:11 -07:00
Michael Dowling
f19cc3a40d Some minor breaking changes and adding async future responses. 2014-09-08 21:35:10 -07:00
Michael Dowling
7998fbdbcb Removing the bundled CA bundle completely
I've now removed the bundled CA bundle and will scan for a
CA bundle when using the PHP stream wrapper on PHP < 5.6.
This change will still work out of the box for most users,
but may require users on Mac or Windows to manually configure
a CA bundle using the `verify` request option or the
openssl.cafile ini setting.
2014-09-08 21:33:32 -07:00
Michael Dowling
e9c74c257e Using the system CA bundle by default when possible
This commit updates Guzzle to use the CA bundle packaged on the
system by default when possible. cURL will use the system CA
bundle without issue, however, PHP 5.5 and lower will still
default to the bundled CA cert. You can now pass "bundled" to
use the cacert file bundled with Guzzle.
2014-09-08 21:33:32 -07:00
Michael Dowling
64fcc4b37c Changing content-disposition order to match curl. Closes #799 2014-09-08 13:58:31 -07:00
Michael Dowling
7eff942469 Fixing CurlAdapter memory leak. Closes #813 2014-09-08 13:53:10 -07:00