1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-23 17:44:02 +01:00

21 Commits

Author SHA1 Message Date
Gabriel Caruso
38d61ba642 Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2018-01-23 16:01:32 -02:00
Jeremy Lindblom
365ca94919 Alternative to #1372. More flexible history containers.
Allows an array or array-accessible object to be used as the history container for the history middleware.
2016-01-22 13:41:00 -08:00
Michael Dowling
1654679ba0 Merge remote-tracking branch 'shadowhand/hotfix/improved-middleware-exception' into response-body-exception 2015-10-26 20:47:11 -07:00
Woody Gilk
5a5893c19f Switch Middleware to use exception factory
The `RequestException::create` factory was not being used anywhere.
Using it inside of `Middleware::httpErrors` simplifies the code and
allows for simpler changes in the future.

Also updates the message formatting of the exception factory to
provide a more complete status, including the body of the response.
2015-10-20 08:43:14 -05:00
Daniel Wehner
e464b0198d Use ::class in tests where it was possible 2015-09-09 11:17:23 +02:00
Michael Dowling
ec1f1a8b56 WIP work on on_stats 2015-09-06 12:11:56 -07:00
Jared Markell
7314eeac52 Allow custom log levels for logging middleware. 2015-05-29 12:02:54 -07:00
Michael Dowling
ad7979d86c Moving retry middleware to class. Updating based on recent promise
changes.
2015-05-12 00:28:14 -07:00
Michael Dowling
9604fa359d Adding "expect" support. Closes #1042 2015-04-30 22:25:15 -07:00
Michael Dowling
b58db45016 Added logging to Guzzle's core 2015-04-19 21:23:25 -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
1332c4bf69 Simplifying applying default client middleware so that it is applied in the ctor of the client 2015-03-31 21:33:31 -07:00
Michael Dowling
0123fa5420 Adding some simple middleware helpers 2015-03-28 13:52:39 -07:00
Michael Dowling
78ccbfb164 Adding MockHandler tests 2015-03-22 20:19:33 -07:00
Michael Dowling
04a212896f Removing Stream::factory 2015-03-22 17:42:47 -07:00
Michael Dowling
841592b09c Making the handler stack an actual stack 2015-03-22 14:51:11 -07:00
Michael Dowling
0c21769785 Updating HandlerStack 2015-03-22 10:43:34 -07:00
Michael Dowling
af5602945d Test coverage 2015-03-21 22:40:21 -07:00
Michael Dowling
46abe49257 Refactoring 2015-03-21 15:53:38 -07:00
Michael Dowling
99125ec94d Adding batching and multipart tests 2015-02-26 16:43:45 -08:00