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

3075 Commits

Author SHA1 Message Date
Jonathan Eskew
1803e73cf7 Add original content encoding and length to responses 2016-02-23 15:11:24 -08:00
Michael Dowling
739b9c8378 Merge pull request #1406 from dvaeversted/noqoute-cookies
Do not attempt to escape cookie values.
2016-02-17 13:09:10 -08:00
Dennis Væversted
9a6691fb90 Do not attempt to escape cookie values.
Trust that the cookie value sent by the server is escaped accordingly,
and do not attempt to escape the cookie by adding quotes around the value.
2016-02-17 22:02:27 +01:00
Jeremy Lindblom
8ff79efe33 Merge pull request #1399 from Zae/patch-1
Update quickstart.rst adding part about usage of closures in pools.
2016-02-16 09:48:23 -07:00
Ezra Pool
6b808106c9 Update quickstart.rst adding part about usage of closures in pools.
Add documentation about Pools being able to resolve closures also with a little example that builds upon the example directly above.
2016-02-14 23:34:16 +01:00
Michael Dowling
8c033e192f Adding doc clarifications. Closes #1386 2016-01-30 16:19:49 -08:00
Michael Dowling
fff93932cd Merge branch 'fix-host-header-preserving' 2016-01-30 16:14:42 -08:00
Michael Dowling
c192997cf1 Merge pull request #1389 from guzzle/add-json-functions
Adding back json helper functions
2016-01-30 16:06:15 -08:00
Michael Dowling
a799bb6f0a PHP 7 fixes 2016-01-30 16:01:12 -08:00
Michael Dowling
9627715757 Adding back json helper functions 2016-01-30 15:55:20 -08:00
Michael Dowling
b498f9ed29 Merge pull request #1374 from zf2timo/master
ClientInterface::request did not accept null
2016-01-30 15:51:29 -08:00
Michael Dowling
858d236882 Merge pull request #1379 from pra85/patch-1
Update license year
2016-01-30 15:50:17 -08:00
Michael Dowling
cc478cae5a Merge pull request #1380 from GrahamForks/patch-1
Bumped branch alias to 6.2
2016-01-30 15:50:07 -08:00
Michael Dowling
c50be1c3fd Merge pull request #1369 from Naktibalda/php-7.0-clean
Fixed describe_type tests on PHP 7.0
2016-01-30 15:50:01 -08:00
Graham Campbell
f5e6ce563c Bumped branch alias to 6.2 2016-01-26 19:25:48 +00:00
Prayag Verma
7bc857162a Update license year 2016-01-26 19:07:22 +05:30
Jonathan Eskew
1ddfa56770 Merge pull request #1377 from jeskew/fix/use-lazyopenstreams-with-streamhandler-sinks
Use a LazyOpenStream instead of try_fopen r+
2016-01-25 10:48:00 -08:00
Jonathan Eskew
7377cff8fa Use a LazyOpenStream instead of try_fopen r+ 2016-01-25 10:32:37 -08:00
Aleksey Kozakov
2cffbeb826 Changed double quotes to single quotes 2016-01-25 16:23:19 +02:00
zf2timo
bf47c21bc2 Corrected PHPDoc 2016-01-25 15:20:50 +01:00
Aleksey Kozakov
2138667fe7 Changed to single quotes 2016-01-25 16:18:25 +02:00
zf2timo
257d63efa2 Merge pull request #1 from zf2timo/hotfix/clientInterface
ClientInterface::request did not accept null
2016-01-23 17:57:06 +01:00
zf2timo
9c4b27be14 Changed PHPDoc 2016-01-23 17:55:23 +01:00
zf2timo
1a5c9dc232 ClientInterface::request did not accept null
I found a difference between the ClientInterface and the Client Implementation Request Method.
The `$uri` is required in the Interface, however in the Implementation it is allowed to be null.
See:
c6851d6e48/src/Client.php (L126) and c6851d6e48/src/ClientInterface.php (L54)

To fix this difference, i changed the `$uri` Parameter in the Interface to default Value `null`
2016-01-23 17:53:11 +01:00
Michael Dowling
5741733ee5 Merge pull request #1373 from guzzle/flexible-history-container
More flexible history containers
2016-01-22 14:54:08 -08: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
Aleksey Kozakov
afaa8917cb The "Host" header is being preserved, if it was set manually. 2016-01-22 12:20:07 +02:00
Gintautas Miselis
622b538e3f Fixed describe_type tests on PHP 7.0 2016-01-21 10:35:47 +00:00
Jonathan Eskew
789bd2309e Merge pull request #1367 from ianchadwick/patch-1
Fix #1366 error when posting with form_params
2016-01-20 14:04:50 -08:00
Ian Chadwick
479c3baf4e Fix #1366 error when posting with form_params
HHVM return null when trying to build the query due to null being passed rather than an empty string.
2016-01-19 11:57:30 +00:00
Michael Dowling
74fc390917 Merge pull request #1350 from xopoc14/master
Fix for PHP Fatal error in MockHandler.php
2015-12-29 13:28:50 -08:00
Michael Dowling
19b3d24673 Fixing readme
Closes #1343
2015-12-29 13:27:26 -08:00
Andrei Khalipau
bd3b88854c Fix for PHP Fatal error in MockHandler.php 2015-12-28 13:02:28 -05:00
Michael Dowling
2e5c595512 Merge pull request #1324 from Briareos/patch-1
Fix sleep calculation when waiting for delayed requests
2015-11-30 18:41:23 -08:00
Milos Colakovic
3de0df38c7 Fix sleep calculation when waiting for delayed requests
`$nextTime` is always set in the future, and `usleep()` takes microseconds as an argument. Currently this function always returns 0 if there are no ongoing requests, clogging the CPU in the `while` loop.
2015-12-01 02:55:03 +01:00
Michael Dowling
14c8c76919 Fixing broken travis deployments 2015-11-22 17:17:16 -08:00
Michael Dowling
c6851d6e48 6.1.1 release 6.1.1 2015-11-22 16:47:50 -08:00
Michael Dowling
d98d291043 Merge pull request #1315 from bocharsky-bw/patch-1
Fix status code as integer in example
2015-11-22 16:39:13 -08:00
Victor Bocharsky
6ce41b3cec Fix status code in example
The `getStatusCode()` method returns an `integer` status code, not a `string`.
2015-11-19 12:49:07 +02:00
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