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

1217 Commits

Author SHA1 Message Date
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
Kristopher Wilson
2b3df4216a Fixing CookieJar cookie-string per RFC 6265 2014-09-11 19:42:18 -04: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
Michael Dowling
f36ab448d0 Not using request_fulluri in stream adapter. Closes #791 2014-08-30 13:56:40 -07:00
Christer Gustavsson
89c13efceb Adding test for redirects with relative paths
Ensure that the relative path is added to url of the
previous request instead of always using the original
2014-08-27 16:39:09 +02:00
Michael Dowling
fa5e604019 Ensuring the stream adapter does not add a default content-type 2014-08-19 21:34:33 -07:00
Michael Dowling
e5f0b6b84d Added the ability to throw exceptions immediately.
Closes #760
2014-08-17 16:21:32 -07:00
Michael Dowling
90bd509464 Adding support for the decode_content request option
- MessageFactory and adapters now handle decode_content
- server.js now requires base64 encoded data in the "body" JSON parameter.
- Closes #764
2014-08-17 14:33:46 -07:00
Michael Dowling
7521b6529d No longer using namespace functions from stream package 2014-08-16 18:13:59 -07:00
Michael Dowling
ef1b0c3075 Merging in default headers case-insensitively. Closes #767 2014-08-14 23:03:39 -07:00
Michael Dowling
22f7e2decf Using the content-type to control whether multipart/form-data POSTs are made. Closes #768 2014-08-14 13:29:02 -07:00