Tom Rochette
b9bf901212
Add missing 0 index to documentation making use of the getHeader method.
...
The getHeader method always returns an array, but it may be empty.
For documentation purpose, we assume that the response object always contains the queried header, thus providing at least one element in the array at index 0.
2017-12-08 15:57:46 -05:00
Gabriel Caruso
501c7c2994
Refactored tests ( #1970 )
2017-12-04 08:55:06 +01:00
Tobias Nyholm
5870e7b87b
Merge pull request #1968 from weshooper/patch-1
...
Remove unused import and function parameter
2017-12-03 14:53:59 +01:00
Michael Käfer
646f63b6f2
fixed a typo in documentation ( #1967 )
2017-12-03 14:52:04 +01:00
Wes Hooper
c69af31cbe
Remove unused import and function parameter
...
`RejectedPromise` isn't used, and `getDefaultContext()` only takes one parameter so `$options` isn't needed.
2017-12-03 13:38:03 +00:00
Gabriel Caruso
83974b7f12
Refactoring tests ( #1964 )
2017-11-29 07:48:19 +01:00
Márk Sági-Kazár
e1daabe2c3
Merge pull request #1946 from DQNEO/patch-1
...
add PHP 7.2 in travis
2017-11-06 13:08:21 +01:00
DQNEO
9bd8757ab0
add PHP 7.2 in travis
2017-10-28 02:32:44 +09:00
Márk Sági-Kazár
e88c2e7582
Merge pull request #1943 from andysnell/fix-faq-typo
...
Fix Typo in FAQ Doc
2017-10-23 16:09:01 +02:00
Andy Snell
3b60a95898
Align Heading Line Markdown
2017-10-23 10:07:50 -04:00
Andy Snell
513c7b7503
Fix Typo in FAQ Doc
2017-10-22 23:17:52 -04:00
Márk Sági-Kazár
9e28b54996
Merge pull request #1923 from hannesvdvreken/patch-1
...
Unused import
2017-09-22 12:35:04 +02:00
Hannes Van De Vreken
b245bc5fc9
Unused import
2017-09-22 11:06:28 +02:00
Márk Sági-Kazár
dfd01d60a3
Add issue template
2017-06-28 23:17:38 +02:00
Márk Sági-Kazár
b29b37f2cc
Merge pull request #1864 from siwinski/pr-fix-5.3.6-client-version
...
[ClientInterface] Fix VERSION for 6.3.0 release
2017-06-24 00:56:09 +02:00
Shawn Iwinski
95f4deb816
[ClientInterface] Fix VERSION for 6.3.0 release
2017-06-23 18:01:13 -04:00
Tobias Nyholm
f4db5a78a5
Make sure we at least run the test on HHVM ( #1862 )
...
* Allow build on HHVM
* Include HHVM
6.3.0
2017-06-22 20:50:49 +02:00
Márk Sági-Kazár
50cf84304a
Update changelog
2017-06-22 19:56:09 +02:00
Dori
065287bc14
Test cookie handling when cookie path is empty. ( #1778 )
...
* Test cookie handling when cookie path is empty.
* Fix cookie path when attribute sent by server is empty or not start with a slash char.
2017-06-10 16:17:14 +02:00
Márk Sági-Kazár
1739e8b94e
Merge pull request #1836 from settermjd/minor-text-correction
...
Minor text correction to the FAQ
2017-05-15 10:45:24 +02:00
Matthew Setter
72914532ad
Minor text correction
...
I saw this grammatical error when I was reading through the
documentation today, and wanted to fix it.
2017-05-15 09:57:05 +02:00
Márk Sági-Kazár
0031313a70
Merge pull request #1832 from CJEdgerton/master
...
Corrected typo in the headers section of the request options docs.
2017-05-09 08:57:15 +02:00
CJEdgerton
2499eacc1e
Corrected typo in the headers section of the request options docs.
2017-05-08 12:24:51 -04:00
Márk Sági-Kazár
56bf6c1cc3
Merge pull request #1827 from Aliance/rejection_for_alias
...
Use `\GuzzleHttp\Promise\rejection_for` function instead of object init.
2017-05-05 01:22:10 +02:00
Márk Sági-Kazár
859befb5b0
Merge pull request #1826 from hngnaig/master
...
Fix typo
2017-05-04 01:32:45 +02:00
tom916
d243cf9d5a
fix when curl set time less than one second causes libcurl to timeout… ( #1718 )
2017-05-04 01:31:26 +02:00
Lesnykh Ilia
67c7d9daf1
Use \GuzzleHttp\Promise\rejection_for
function instead of object init.
2017-05-03 17:56:55 +03:00
Giang Nguyen
c3a523251a
Fix typo
2017-05-03 10:47:07 +07:00
Christian Schmidt
8353b3fd85
Support force_ip_resolve in StreamHandler ( #1659 )
2017-05-01 11:44:08 +02:00
notxarb
114516bcb4
Bugfix/curlopt capath ( #1684 )
2017-05-01 11:38:41 +02:00
Márk Sági-Kazár
4149288b3d
Merge pull request #1721 from duncan3dc/content-length-with-get
...
[PrepareBodyMiddleware] Always include the Content-Length if there's a body
2017-05-01 11:18:14 +02:00
Pavel Batanov
703160e28b
Add PHP 7.2 testing ( #1811 )
...
* Update travis to test against php 7.2
* Add tests for countables
* Update dev phpunit to ^5.0
* Fix tcp proxy URL
2017-05-01 11:12:41 +02:00
Dylan McDonald
b517bd912a
Added convenience method to access a cookie by name ( #1318 )
...
* Added convenience method to access a cookie by name
* updated pull request against newest version
* added default null edge case 👍 to @Nyholm
* added null test to Cookie Jar Test
* added better null protection
* disallowed null names in getCookieByName
* changed null to empty string
2017-04-07 22:03:48 +02:00
Márk Sági-Kazár
a1c4a74bf3
Merge pull request #1569 from miguelbalboa/master
...
Added curl ntlm auth support
2017-03-22 12:33:29 +01:00
Márk Sági-Kazár
e52a94cdaa
Merge pull request #1773 from guzzle/patch-Nyholm-hhvm-build
...
Fix invalid Travis HHVM config
2017-03-22 12:29:23 +01:00
Tobias Nyholm
f6f8049dbd
Fix broken HHVM build
2017-03-10 19:53:19 +01:00
Márk Sági-Kazár
03c0747d7f
Merge pull request #1767 from lex111/patch-1
...
stackoverflow -> Stack Overflow
2017-03-07 20:22:01 +01:00
Alexey Pyltsyn
cdb7249e15
stackoverflow -> Stack Overflow
2017-03-07 22:04:28 +03:00
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