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
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
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
Márk Sági-Kazár
0324c9252d
Revert "Minor refactoring"
2016-10-21 23:27:51 +02:00
Bas van Vliet
56ed0ef043
Handle on_headers option in MockHandler ( #1580 )
...
* Handle on_headers option
* Tests for correct handling of on_headers option
2016-10-21 23:23:29 +02:00
Chris Nanney
7e405efc1a
Don't include summary in exception message when body is empty
...
Exception messages end with ":\n\n" when there is no response body.
2016-10-18 16:32:51 -05:00
Pavel Janda
f8f10589ee
Added cofiguration option to force client to use either ipv4 or ipv6 protocol (curl)
2016-10-14 08:37:47 +02:00
Morten Hauberg
9061956e6a
Minor refactoring ( #1612 )
2016-10-13 07:38:46 +02:00
Márk Sági-Kazár
ebf29dee59
6.2.2 release
6.2.2
2016-10-08 18:01:37 +03:00
Tobias Nyholm
a0d75173c8
Merge pull request #1597 from brunoplima/brunoplima-typo
...
Fixing typo
2016-09-22 16:23:55 +02:00
Bruno Lima
a6e14fcc7f
Fixing typo
...
There was a missing ')' on the middleware migration session.
2016-09-22 11:14:47 -03:00
Tobias Nyholm
f314080006
Merge pull request #1593 from radarhere/master
...
Fixed typos
2016-09-19 11:50:28 +02:00
Andrew Murray
69cf93f24b
Fixed typos
2016-09-19 18:55:23 +10:00
Maksim N
113071af3b
Obfuscates URI if there is an username and a password present ( #1570 )
...
* Obfuscates URI if there is an username and a password present
Lets assume that you include username and password into the URI. Currently, if the exception accrued the error message looks like so:
```
Client error: `POST http://username:secrect@hostname.com/somePath ` resulted in a `400 Bad Request` response: ......, (truncated...)
```
It lead to security issue because password is shown like it is.
This commit will hide the password (replace it with `***`).
* Make `obfuscateUri` private
* Improve tests
2016-09-12 17:07:23 +02:00
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