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

3076 Commits

Author SHA1 Message Date
Michael Dowling
80af2425db Merge pull request #1513 from javiereguiluz/patch-1
Fixed a PHP namespace
2016-07-01 10:31:34 -07:00
Michael Dowling
71960d83b8 Merge pull request #1514 from Tobion/ignore-fragment
ignore URI fragment when dereferencing
2016-07-01 10:30:57 -07:00
Tobias Schultze
49086392c1 ignore URI fragment when dereferencing 2016-07-01 16:12:51 +02:00
Javier Eguiluz
c554a228be Fixed a PHP namespace 2016-07-01 11:23:17 +02:00
Michael Dowling
a6ed049497 Only read up to Content-Length in stream wrapper
This commit updates the stream wrapper to only read up to the number of
bytes returned in the Content-Length header when draining a stream
synchronously.
2016-06-30 13:49:28 -07:00
Alexander Cheprasov
fada921171 fix equals to identical 2016-06-30 19:05:58 +01:00
Michael Dowling
502b40014c Merge pull request #1509 from Tobion/fix-uri-without-scheme-fallback
Fix uri without scheme fallback
2016-06-30 10:58:34 -07:00
Alexander Cheprasov
31f22b1750 fix equals to identical 2016-06-30 18:30:21 +01:00
Alexander Cheprasov
8822d7bea0 fix equals to identical 2016-06-30 18:25:55 +01:00
Tobias Schultze
7cdd16f2c5 fix and add test for URI without scheme 2016-06-30 12:22:40 +02:00
Tobias Schultze
f0a4ecca8c require psr7 1.3.1
previous versions had bug when combining the URI components
2016-06-29 18:47:07 +02:00
Tobias Schultze
443a7a621c When URI has no scheme use http by default
curl usually also uses http when no scheme is given. see https://curl.haxx.se/libcurl/c/CURLOPT_URL.html
but curl requires network-path URIs without a scheme to not starting with 2 starting slashes which is actually wrong (probably done for user-friendliness). so the fixes in psr7 1.3.1 actually broke curl handler for URIs without scheme. we solve this problem by applying the http default scheme to the URI beforehand. this also ensures that the stream handler works the same way. fopen() requires a scheme and has no fallback logic. so there was an inconsistency.
2016-06-29 18:39:38 +02:00
Michael Dowling
79c6fbef13 Merge pull request #1495 from seferov/patch-1
Fix broken travis badge
2016-06-20 00:37:14 -07:00
Farhad Safarov
3528e406e1 Fix broken travis badge 2016-06-20 09:52:22 +03:00
Michael Dowling
61b1d4986f Merge pull request #1493 from gsdevme/patch-1
fix: corrects docblock for json_encode
2016-06-17 10:47:21 -07:00
Gavin Staniforth
af35c5b7b6 fix: corrects docblock for json_encode 2016-06-16 19:28:21 +01:00
Michael Dowling
eeff956f2c Merge pull request #1480 from Tobion/uri-default
Remove URI default value
2016-06-12 16:58:31 -07:00
Michael Dowling
fc3dfa4dd8 Merge pull request #1488 from andreasfernandez/master
Ignore zeroed timeout with StreamHandler to use PHP default instead
2016-06-12 16:55:22 -07:00
Michael Dowling
a65c2adc7b Merge pull request #1489 from t-geindre/patch-1
Fix typo in request-options.rst
2016-06-12 16:54:34 -07:00
Thierry Geindre
6944c20169 Fix typo in request-options.rst 2016-06-06 10:55:05 +02:00
Tobias Schultze
566d90d7cd readd default URI for client implementation for BC 2016-06-05 15:18:14 +02:00
Andreas Fernandez
8abe196718 Ignore zeroed timeout with StreamHandler to use PHP default instead
Using \GuzzleHttp\Client without cURL being installed falls back to the
StreamHandler. As documented, guzzle uses a `timeout => 0` setting by
default, if that setting isn't explicitly passed as option. This value
is passed to the context of the stream, causing every request to fail
instantly as `timeout => 0` has a different meaning for streams.

Fixes #1487
2016-06-05 11:58:26 +02:00
Michael Dowling
6a37496c2b Merge pull request #1485 from rosiecki/master
PHP 7 fix
2016-06-04 15:16:20 -07:00
Rafał Osiecki
c0c8969ca0 PHP 7 fix 2016-06-03 00:45:36 +02:00
Tobias Schultze
812d9fd2c8 some smaller refactoring 2016-05-22 14:28:35 +02:00
Tobias Schultze
acd0bcded6 remove null default value for URI that does not make sense 2016-05-22 14:16:03 +02:00
Michael Dowling
b1a96f6134 Fixing docs. Closes #1471 2016-05-08 12:39:56 -07:00
Michael Dowling
2c0556b78f Merge pull request #1459 from Tobion/patch-1
Fix strange auth option handling
2016-05-08 12:30:22 -07:00
Michael Dowling
0d082d5714 Fixing broken test. Closes #1470 2016-05-08 12:28:38 -07:00
Michael Dowling
58e54017e9 Merge pull request #1469 from abacaphiliac/mock-handler-doc-block
update MockHandler @return doc-block
2016-05-06 09:50:02 -07:00
Tim Younger
62c12548ee \GuzzleHttp\Handler\MockHandler::createWithMiddleware() returns an instance of \GuzzleHttp\HandlerStack, not \GuzzleHttp\Handler\MockHandler. 2016-05-05 18:27:22 -07:00
Michael Dowling
7011740238 Merge pull request #1462 from azamtav/azamtav-updating-doc
Updated quickstart documentation
2016-04-29 10:35:12 -07:00
azamtav
08b4185d83 Updated quickstart documentation
Added a line stating that clients are immutable
2016-04-26 10:01:56 -05:00
Tobias Schultze
dd114f72da Fix strange auth option handling 2016-04-25 23:22:12 +02:00
Michael Dowling
85cb758d73 Merge pull request #1443 from bil9000/master
php command
2016-04-06 10:59:33 -07:00
Michael Dowling
6b64437a7b Merge pull request #1444 from aminebenhariz/master
general code style fixes
2016-04-06 10:59:20 -07:00
Amine Ben Hariz
cc0d5ff43e using new array syntax 2016-04-02 13:03:41 +01:00
Amine Ben Hariz
c348a5464d remove unused import 2016-04-02 13:02:46 +01:00
BIL9000
80751fd836 php command
minor command missing, easy for some, however for newbie… fatality!
2016-04-01 15:56:52 -04:00
Jeremy Lindblom
8e4e5ef9fb Merge pull request #1442 from kenske/master
Updating documentation for async requests
2016-03-31 22:52:09 -07:00
Kenneth
812f3a83e5 Updating documentation for async requests
I took me many hours to realize I could use the settle function instead of unwrap if I wanted to get the responses regardless of their status.
2016-03-31 22:35:47 -05:00
Jonathan Eskew
d094e33797 6.2.0 release 6.2.0 2016-03-21 13:02:09 -07:00
Jeremy Lindblom
6a173ddae1 Merge pull request #1426 from rickyrobinett/master
Add missing ; in Middleware documentation
2016-03-11 08:36:56 -08:00
Ricky Robinett
b00363a54b add missing ; in middleware documentation 2016-03-11 11:34:05 -05:00
Ricky Robinett
b03683fee3 add missing ; in middleware documentation 2016-03-11 11:31:44 -05:00
Michael Dowling
ec6cbc1d54 Merge pull request #1422 from jeskew/feature/rewind-seekable-request-bodies
Rewind seekable request bodies before dispatching to cURL
2016-03-09 14:09:58 -08:00
Jonathan Eskew
b65cdda6b0 Rewind seekable request bodies before dispatching to cURL 2016-03-07 13:12:30 -08:00
Michael Dowling
55ab7c5edc Merge pull request #1420 from kazu9su/master
fix typo
2016-03-07 13:03:36 -08:00
Tomy
265a273f09 fix typo 2016-03-06 14:58:27 +09:00
Tomy
78a4eef3a0 fix typo 2016-03-06 14:57:05 +09:00