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

40 Commits

Author SHA1 Message Date
Michael Dowling
311122efa5 Fixing cancellation and some tests 2014-10-04 12:16:39 -07:00
Michael Dowling
7f863435c9 Fixing RingBridge tests 2014-10-03 16:56:29 -07:00
Michael Dowling
d57c66dbc8 Fixing intercepting with cancelled response. Adding some tests 2014-10-03 00:43:28 -07:00
Michael Dowling
ac261dc68e Trying to get stuff working 2014-10-02 22:10:54 -07:00
Michael Dowling
43c7f468ae Updating to use future proxies 2014-10-02 21:14:42 -07:00
Michael Dowling
0a8b197766 More progess 2014-10-02 10:40:43 -07:00
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
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
931d47b3e0 Adding tests, adding retry to FSM, fixing History, fixing Redirects. 2014-09-21 18:39:23 -07:00
Michael Dowling
8441a7dafe Updating tests 2014-09-21 14:09:04 -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
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
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
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
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
ef1b0c3075 Merging in default headers case-insensitively. Closes #767 2014-08-14 23:03:39 -07:00
Jeremy Lindblom
33ad112c94 Added an emitter option to the Client 2014-04-17 07:26:16 -07:00
Michael Dowling
3472f1fb68 Renaming (g|s)etDefaultValue() to (g|s)etDefaultOption() 2014-03-24 19:44:55 -07:00
Michael Dowling
d3943ce1e3 Adding support for HTTP_PROXY and HTTPS_PROXY 2014-03-24 19:00:23 -07:00
Michael Dowling
d4e897936c Renaming getDefaults() to getDefaultValue() 2014-03-21 16:54:06 -07:00
Michael Dowling
b30ce5d514 Making clients more immutable
- Removing getConfig() and setConfig() from clients to avoid confusion around
  whether things like base_url, message_factory, etc should be able to be
  retrieved from getConfig() or modified using setConfig().
- Adding getDefaults() and setDefaultValue() to customize default request
  options of a client.
- Updating Url class to check if a scheme and host are set before adding
  ":" and "//". This allows empty Url (e.g., "") to be serialized as "".
- Removing dead code from Url class.
- Adding a functions.php function for get_path and set_path so that these
  functions can be used on regular PHP arrays. Collection now proxies to these
  functions when Collection::(get|set)Path() is called.
- Resolves #599.
2014-03-21 12:37:32 -07:00
Michael Dowling
4124f9019e Fixing two failing tests 2014-03-20 20:39:52 -07:00
Michael Dowling
85422b5bd5 Adding shims that emit deprecations for the really common event method names 2014-03-12 13:44:27 -07:00
Michael Dowling
0ebe576e97 Adding a test to ensure absolute URI templates can be used in clients 2014-03-07 14:30:06 -08:00
Michael Dowling
e32d850a99 Cleaning up the EventEmitter
- Changed GuzzleHttp\Event\SubscriberInterface::getSubscribedEvents from a
  static method to an instance method.
- Renamed addSubscriber to attach.
- Renamed removeSubscriber to detach.
2014-03-07 10:14:17 -08:00
Michael Dowling
565867bcf4 Wrapping all exceptions in the client->send() method and adding tests 2014-03-06 09:39:29 -08:00
Michael Dowling
7e5a93b51a Fixing malformed URL errors in HHVM 2014-03-02 13:10:33 -08:00
Michael Dowling
91c1f5bd6c Trying to fix various HHVM tests 2014-03-02 12:57:33 -08:00
Michael Dowling
205bea3753 Preventing double error event emission 2014-03-01 17:18:12 -08:00
Michael Dowling
7fcf225d0e Fixing dot segment removal, how absolute URLs are detected, the namespace used for functions.php, and how segments of a path are returned 2014-02-21 11:47:05 -08:00
Michael Dowling
2b779dccb3 Moving some things like query and url up a NS 2014-02-16 21:02:54 -08:00
Michael Dowling
89a8e2ede1 Using PSR-4 and moving namespace from Guzzle to GuzzleHttp
- Moving various namespaces up a level
- Updating docs
- Renaming EventSubscriberInterface to SubscriberInterface
2014-02-16 20:42:45 -08:00