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

3086 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
Michael Dowling
3a0020170b Merge pull request #1203 from mortenhauberg/master
Yield key
2015-11-15 01:27:09 -08:00
Michael Dowling
5c12b74e94 Merge pull request #1286 from daleattree/master
https://github.com/guzzle/guzzle/issues/1256
2015-11-15 01:15:37 -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
Michael Dowling
4f11935f70 Merge pull request #1288 from elliotfehr/patch-2
Update `GuzzleHttp\Cookie\CookieJarInterface` namespace
2015-10-26 21:12:26 -07:00
Michael Dowling
15592d010e Merge remote-tracking branch 'dawehner/weird-php' 2015-10-26 21:07:00 -07:00
Michael Dowling
552e3a19b1 Merge pull request #1285 from tpavlek/exceptions-in-mockhandler
Documented throwing an exception in MockHandler
2015-10-26 21:04:45 -07:00
Michael Dowling
0a966bbe9c Message tweaks and adding truncation notice 2015-10-26 21:03:44 -07: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
Michael Dowling
f186cb3f12 Merge pull request #1278 from mortenhauberg/fix-minor-typos
Fix a typo
2015-10-26 20:44:35 -07:00
Elliot Fehr
1d3ca2a30f Update GuzzleHttp\Cookie\CookieJarInterface namespace 2015-10-22 23:10:56 -04:00
Daniel Wehner
861c14ccfc fix bug 2015-10-22 01:06:05 -07:00
Daniel Wehner
bc33217822 simplify the logic 2015-10-22 00:44:24 -07:00
Daniel Wehner
bd3c5ba8ec take into account disabled functions 2015-10-22 00:37:48 -07: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
Troy Pavlek
0134b2fc82 Documented throwing an exception in MockHandler
While exceptions are briefly mentioned in the preceding documentation, it is not immediately clear that exceptions can be thrown in the MockHandler, since my eyes are immediately drawn to the example code rather than the textual pre-amble.

With this, it is immediately clear to anyone that the stack can consist of both Responses and Exceptions.
2015-10-20 09:45:55 -06: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
mortenhauberg
6b9c529cc0 Fix a typo 2015-10-15 09:55:34 +02:00
Jeremy Lindblom
90d7d39a97 Merge pull request #1277 from mortenhauberg/fix-syntax-errors
Fix syntax errors in documentation
2015-10-14 23:47:57 -07:00
mortenhauberg
fb449de675 Fix syntax errors 2015-10-15 08:20:49 +02:00
Michael Dowling
6d6c3a68fb Merge pull request #1271 from guzzle/reusable-handler-stack
Makes the HandlerStack more reusable
2015-10-05 14:30:32 -07:00
Jeremy Lindblom
f210294133 Fixes #1263. Makes the HandlerStack more reusable (without BC) by moving the "cached" logic from __invoke() to resolve(). 2015-10-04 22:53:12 -07:00
Michael Dowling
ecf4fc1ef4 Merge pull request #1270 from sulfo/patch-1
Fixed formating
2015-09-30 10:14:23 -07:00
Michael Sørensen
471d589f37 Fixed formating
Code block was not been displayed due to incorrect indentation.
2015-09-30 18:23:51 +02:00
Michael Dowling
c4c2ae9e2f Merge pull request #1266 from EdgarPE/master
Fixes incorrect synchrounous check in Proxy class.
2015-09-28 09:52:08 -07:00
EdgarPE
911bcbc8b4 Fix tests for RequestOptions::SYNCHRONOUS check in Proxy::wrapSync() 2015-09-28 10:59:51 +02:00
EdgarPE
e664da3e88 Fix RequestOptions::SYNCHRONOUS check in Proxy::wrapSync() 2015-09-26 01:33:23 +02:00
Michael Dowling
768b4c0e3e Merge pull request #1253 from dawehner/__class
Use ::class in tests where it was possible
2015-09-16 10:16:54 -07:00
Michael Dowling
146ea37604 Merge pull request #1258 from Brunty/httpbin-host
Fixed typo in quickstart docs for httpbin
2015-09-16 10:16:18 -07:00
Michael Dowling
b2a042063d Merge pull request #1259 from shadowhand/patch-1
Use correct interface names in middleware docs
2015-09-16 10:16:10 -07:00
Woody Gilk
7d91e2e87f Use correct interface names in middleware docs 2015-09-15 15:22:30 -05:00
Matt Brunt
914c2b5010 Fixed typo in quickstart for httpbin 2015-09-15 10:07:47 +01:00
Daniel Wehner
e464b0198d Use ::class in tests where it was possible 2015-09-09 11:17:23 +02:00
Michael Dowling
ef728b658f Merge pull request #1252 from jeskew/fix/travis-is-too-slow
Travis is too slow when running on its legacy infrastructure
2015-09-08 13:05:33 -07:00
Jonathan Eskew
615d291a57 Travis is too slow when running on its legacy infrastructure 2015-09-08 12:32:54 -07:00
Michael Dowling
66fd14b4d0 6.1.0 release 6.1.0 2015-09-08 10:36:26 -07:00
Michael Dowling
8f623664ed Merge pull request #1202 from guzzle/on_stats
on_stats request option
2015-09-08 10:13:47 -07:00
Michael Dowling
4771e34b9e Merge pull request #1247 from GrahamCampbell/patch-1
Updated branch alias
2015-09-06 14:10:21 -07:00
Michael Dowling
19cc17ffaf Merge pull request #1246 from dshafik/fix-options-merge
Fix options merge, ensure latter options override
2015-09-06 13:59:07 -07:00
Graham Campbell
62cd40c2bb Updated branch alias 2015-09-06 21:56:33 +01:00
Michael Dowling
38d25519c6 Adding on_stats docs 2015-09-06 13:01:07 -07:00
Michael Dowling
16ccd73eee Adding tests 2015-09-06 12:51:06 -07:00
Michael Dowling
e881b5ab5b Adding transfer tests 2015-09-06 12:24:01 -07:00
Michael Dowling
2e3532155d Making the function name consistent 2015-09-06 12:22:10 -07:00
Michael Dowling
ec1f1a8b56 WIP work on on_stats 2015-09-06 12:11:56 -07:00
Michael Dowling
2e92238902 Finishing the redirect tracking PR 2015-09-06 12:05:56 -07:00
Michael Dowling
134fb899d2 CS fixes 2015-09-06 11:44:21 -07:00
Michael Dowling
362dd6864c Merge remote-tracking branch 'dawehner/redirect-history' into redirect-history
Conflicts:
	tests/RedirectMiddlewareTest.php
2015-09-06 11:43:02 -07:00