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

3059 Commits

Author SHA1 Message Date
Craig Duncan
fcfd6d62ba Always include the Content-Length if there's a body 2017-03-04 18:26:50 +00:00
Márk Sági-Kazár
2297b43ad7
Merge branch '6.2.x' 2017-02-28 23:51:22 +01:00
Tobias Schultze
8d6c6cc551 Fix deprecations with guzzle/psr7 version 1.4
Fix wrong example doc

replace deprecated Uri::resolve

Fix documented types for body request option
6.2.3
2017-02-28 23:50:30 +01:00
Márk Sági-Kazár
7ca811c453 Merge pull request #1757 from vrkansagara/patch-1
unambiguous response on array corrected.
2017-02-28 22:26:42 +01:00
Vallabh Kansagara
5e37e251f4 unambiguous response on array corrected.
unambiguous response on array corrected
2017-02-26 20:15:36 +05:30
Márk Sági-Kazár
437c0c3321 Merge pull request #1611 from arnaud-lb/read-timeout
Add 'read_timeout' option
2017-02-23 21:32:34 +01:00
DQNEO
6a99df94a2 check handler type on construction (#1745) 2017-02-19 16:59:27 +01:00
Mponos George
01324c2fbc Add psr/log package to suggested packages (#1729) 2017-02-05 03:32:13 +01:00
Tobias Nyholm
443ca656de Merge pull request #1726 from doalex/doalex-documentation-fix
Fix query option documentation
2017-01-16 18:41:59 +01:00
Alex
b6781ffbdc Fix query parameter documentation 2017-01-16 17:48:15 +01:00
Dan
77a16c8d30 Track redirect HTTP status codes (#1711) 2017-01-15 10:48:03 +01:00
Márk Sági-Kazár
3a66f89432 Merge pull request #1724 from thinsoldier/master
Fix typo "an an".
2017-01-14 08:11:58 +01:00
thinsoldier
f45e47a409 Fix typo "an an". 2017-01-13 20:45:35 -07:00
Tobias Nyholm
14fa40e268 Merge pull request #1717 from jezemery/patch-1
Update Client.php
2017-01-05 11:54:39 +01:00
Jeremy Emery
f28585983b Update Client.php
Fix a typo in the InvalidArgumentException thrown for invalidBody
2017-01-05 10:51:57 +00:00
Márk Sági-Kazár
ec70becf65 Merge pull request #1642 from gmponos/issue_1631
Deprecate BadResponseException instantiation without a response
2017-01-05 07:32:17 +01:00
Márk Sági-Kazár
8bc9d2de88 Merge pull request #1709 from guzzle/sagikazarmark-patch-1
Fix request creation
2016-12-29 14:24:34 +01:00
Márk Sági-Kazár
274035968c Fix request creation
Fix #1707
2016-12-29 14:20:35 +01:00
Márk Sági-Kazár
e7dea7f16d Merge pull request #1705 from baijunyao/master
Update request-options.rst
2016-12-27 11:24:35 +01:00
白俊遥
e34ed489a7 Update request-options.rst
$request->getHeader('Content-Type'); is array;
2016-12-27 17:45:24 +08:00
gmponos
cc9189e3bc Deprecated BadResponseException instantiation without a response 2016-12-23 00:15:40 +02:00
Márk Sági-Kazár
dfadff37ef Merge pull request #1686 from kelunik/count
Fix count being called on null
2016-12-15 10:53:31 +01:00
Niklas Keller
375c01b636 Fix count being called on null
PHP 7.2 requires arguments to count being an array or an instance of Countable.

This property when not initialized, is neither of these, it's null.
2016-12-15 10:42:19 +01:00
Márk Sági-Kazár
423bf39e6d Merge pull request #1685 from guzzle/travis_php_71
Fix build on PHP 7.1
2016-12-13 20:31:19 +01:00
Márk Sági-Kazár
713c7035c4 Fix build on PHP 7.1 2016-12-13 20:24:34 +01:00
Márk Sági-Kazár
ab8f7d7ecc Add link to CONTRIBUTING guide (#1646)
Closes #1337
2016-12-13 20:19:01 +01:00
Márk Sági-Kazár
eaf2a3e33a Update .gitattributes 2016-12-13 19:38:52 +01:00
Márk Sági-Kazár
8fea668e4a Merge pull request #1649 from Aliance/patch-1
Update .gitattributes
2016-12-13 19:36:20 +01:00
Márk Sági-Kazár
471026d23a Merge pull request #1657 from swordbeta/readme-php-versions
Add PHP versions to version guidance in README.md
2016-11-15 19:22:40 +01:00
Michael van Tricht
364c6bdf17 Consistent PHP versions in README.md 2016-11-15 11:43:43 +01:00
Márk Sági-Kazár
f0339b94b8 Merge pull request #1658 from DQNEO/fix-readme
fix sample code in literal to work
2016-11-15 11:39:59 +01:00
DQNEO
c766753a4c fix sample code in literal to work 2016-11-15 18:51:04 +09:00
Michael van Tricht
d0839cea06 Add PHP versions to version guidance in README.md 2016-11-15 10:39:46 +01:00
Márk Sági-Kazár
fe27635017
Move request option up in docs 2016-11-13 19:36:11 +01:00
Lesnykh Ilia
6a861047ce Update .gitattributes 2016-11-10 16:33:05 +03:00
Lesnykh Ilia
db09b7459e Update .gitattributes 2016-11-10 16:08:03 +03:00
Márk Sági-Kazár
122c0b7f78 Merge pull request #1641 from gmponos/exception_class_reference
Use class reference for getting the name of class instead
2016-11-09 19:25:12 +01:00
Arnaud Le Blanc
ed1d1bdecf Add 'read_timeout' option 2016-11-09 17:59:14 +01:00
Tobias Nyholm
4d22214bbe Merge pull request #1617 from guzzle/1609-add-sles-ca-cert
Add SUSE linux CA certificate
2016-11-07 09:22:43 +01:00
gmponos
f997578904 Use class reference for getting the name of the class instead of using hardcoded strings 2016-11-06 13:07:57 +02:00
Márk Sági-Kazár
9166b89e3b
Add SUSE linux CA certificate
Closes #1609
2016-11-06 11:15:02 +01:00
Márk Sági-Kazár
5cc0b23072 Merge pull request #1632 from gmponos/mock_handler_typehint
Fix getLastOptions function docblock typehint in MockHandler
2016-11-06 11:04:53 +01:00
Márk Sági-Kazár
9f75c64ba7 Merge pull request #1608 from paveljanda/master
Added cofiguration option to force client to use either ipv4 or ipv6 protocol (curl)
2016-11-06 10:55:50 +01:00
Márk Sági-Kazár
0118099daf Merge pull request #1635 from j92/fix-typo-in-request-options-headers
Added missing square bracket
2016-10-28 02:09:06 +02:00
Joost van Driel
5b6a2a4f5f Added missing square bracket 2016-10-27 16:48:08 +02:00
gmponos
8e26cc9bd3 getLastOptions function from mockhandler had a wrong docblock typehint 2016-10-25 21:28:58 +03:00
Joris Steyn
0c15c11264 Quickstart: note that HTTP_PROXY only works on CLI (#1622)
* Quickstart: note that HTTP_PROXY only works on CLI

Due to "httpoxy" the environment variable HTTP_PROXY is not trusted on non-cli processes. This should be mentioned in the quickstart guide.

* Quickstart: explain HTTP_PROXY and link to httpoxy
2016-10-24 10:47:23 +02:00
Márk Sági-Kazár
58219b370b Merge pull request #1621 from cnanney/master
Don't include summary in exception message when body is empty
2016-10-23 11:32:37 +02:00
Márk Sági-Kazár
310b854261 Merge pull request #1627 from guzzle/revert-1612-minor-clean-up
Revert "Minor refactoring"
2016-10-23 11:24:05 +02:00
Mponos George
eede7678a2 Replace concat (#1629)
* Removed the concatenation since there is already a sprintf function

* Changed the comment of the example message
2016-10-23 11:23:40 +02:00