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
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
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