Márk Sági-Kazár
b6e8a8e01f
Merge pull request #1577 from michaelbutler/master
...
handle drain case where content-length is the literal string zero
Closes #1539
2016-09-08 10:57:31 +02:00
Márk Sági-Kazár
870527d30b
Merge pull request #1579 from sagikazarmark/remove_composer_upgrade_duplicate
...
Remove duplicate composer self-update command
2016-09-07 11:38:23 +02:00
Márk Sági-Kazár
def7d323bd
Merge pull request #1578 from sagikazarmark/document_progress_callback
...
Documents the progress callback request option
2016-09-06 23:17:25 +02:00
Márk Sági-Kazár
4e00d7c5b6
Remove duplicate composer self-update command
2016-09-06 11:19:42 +02:00
Márk Sági-Kazár
5fcc9920bd
Documents the progress callback request option
...
Closes #1576
2016-09-06 10:31:48 +02:00
Michael Butler
984f1d85af
handle drain case where content-length is the literal string zero
2016-09-05 17:21:49 -04:00
Michael Dowling
ba573b420d
Merge pull request #1562 from scheb/delay-with-response
...
Retry-After Header in Guzzle 6
2016-08-31 09:51:05 -07:00
Michael Dowling
100271120b
Merge pull request #1565 from pkruithof/no-scheme-without-host
...
Only add scheme when host is present
2016-08-30 18:08:05 -07:00
Christian Scheb
16ebf2ef37
Pass nullable Response to delay callable
2016-08-30 20:53:41 +02:00
pkruithof
ac09112309
Only add scheme when host is present
2016-08-29 16:10:26 +02:00
Michael Dowling
3b45e7675e
Merge pull request #1538 from Tobion/doc-magic-methods
...
document uri type for magic methods
2016-08-03 17:05:49 -07:00
Michael Dowling
d115eaa7bf
Merge pull request #1543 from GrahamCampbell/patch-1
...
Test on PHP 7.1
2016-08-03 10:16:45 -07:00
Graham Campbell
fa0a6cfa9c
Test on PHP 7.1
2016-08-02 16:36:52 +01:00
Tobias Schultze
e684969433
document type for magic methods
...
this is according to phpdoc and works with phpstorm
2016-07-23 20:01:12 +02:00
Michael Dowling
158c171272
Merge pull request #1529 from mstrom/master
...
Fixing issue #1528 - default value of allow_redirects.referer
2016-07-21 13:48:12 -07:00
Mikhail Strachuk
9c2445194f
Changin documentation for default value of allow_redirects.referer
2016-07-20 21:29:53 -07:00
Mikhail Strachuk
f020b9b897
Fixing issue #1528 - default value of allow_redirects.referer
2016-07-15 17:05:50 -07:00
Michael Dowling
3f808fba62
6.2.1 release
6.2.1
2016-07-15 10:22:37 -07:00
Michael Dowling
9d521b2314
Addressing HTTP_PROXY security vulnerability, CVE-2016-5385
2016-07-15 10:14:23 -07:00
Michael Dowling
10a49d5e1b
Merge pull request #1510 from guzzle/stream-read-content-length
...
Only read up to Content-Length in stream wrapper
2016-07-01 16:54:08 -07:00
Michael Dowling
5b3279a810
Do not drain on HEAD requests
2016-07-01 12:25:54 -07:00
Michael Dowling
90a08e8aa7
Merge pull request #1511 from cheprasov/equal-to-identical
...
Equal to identical
2016-07-01 10:32:48 -07:00
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