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

2829 Commits

Author SHA1 Message Date
Kirill
02b91181a4 documentation types were wrong. forgot to mark the store session cookie flag as a bool. 2015-07-27 15:36:41 -04:00
Kirill
62a12b4143 Space after if. 2015-07-27 15:27:57 -04:00
Kirill
c03cda8b3e forgot $this 2015-07-27 15:12:58 -04:00
Kirill
6aceeb7304 added parameter to the cookie jars to store session cookies. 2015-07-27 15:00:53 -04:00
Jonathan Eskew
f9614178a7 PrepareBodyMiddleware will handle content-length when non-zero; just handle the zero case 2015-07-22 18:26:45 -07:00
Jonathan Eskew
1bf94e4f80 Add content-length header to outgoing requests if not supplied 2015-07-22 17:27:13 -07:00
pinkal
6b5c376145 Merge pull request #1 from pinkal-vansia/pinkal-vansia-reason-phrase-casting-patch-1
Changed the reason phrase casting from int to string
2015-07-21 11:56:51 +05:30
pinkal
11082b1c82 Chnged the reason phrase casting from int to string
int casting of reason phrase was converting legitimate string response header message to 0. e.g. If api send res `header("HTTP/1.1 401 Some message");` , "Some message" was resulted in 0 because of int casting and hence could not be fetched with `getReasonPhrase()` method. Instead default matching message from `$phrases` message map from `Response` class was returned.
2015-07-21 11:55:17 +05:30
Michael Dowling
1879fbe853 Merge pull request #1167 from guzzle/on_redirect
Adding on_redirect. Addresses #1166
2015-07-10 13:04:21 -07:00
Michael Dowling
3416e6108e Adding on_redirect. Addresses #1166 2015-07-09 20:03:23 -07:00
Michael Dowling
54b22ce945 Adding allow_redirects docs to RequestOptions 2015-07-09 19:41:07 -07:00
Michael Dowling
0062f2c043 Merge pull request #1163 from kkopachev/arg-separator
Force form_params to use & as fields separator
2015-07-07 21:01:47 -07:00
Konstantin Kopachev
8114c93801 Force form_params to use & as fields separator 2015-07-07 17:41:33 -07:00
Michael Dowling
a8dfeff00e 6.0.2 release 6.0.2 2015-07-04 13:09:24 -07:00
Michael Dowling
e63c583a93 Merge pull request #1161 from guzzle/content-length
Content length
2015-07-04 12:59:20 -07:00
Michael Dowling
c3e8f53fec Adding some code reuse 2015-07-04 12:52:20 -07:00
Michael Dowling
ddb0b857ca Merge remote-tracking branch 'ajgarlag/decoded-content-length' into content-length 2015-07-04 12:08:36 -07:00
Michael Dowling
d96cc2cf9b Merge pull request #1157 from amine26tz/patch-1
patch(requestException): add http method in message of request Exception
2015-07-04 11:58:07 -07:00
Zaghdoudi Amine
a5ee11c332 add http method in message of request Exception 2015-07-02 11:54:49 +02:00
Michael Dowling
66737d2024 Merge pull request #1143 from hussainweb/master
Support HHVM. See if CURLOPT_PROTOCOLS is defined before using it and other HHVM errors.
2015-06-30 13:37:09 -07:00
Michael Dowling
829b40a8dc Fixing curl memory leak. Closes #1151 2015-06-30 10:17:41 -07:00
hw
911237955f Allow failures on HHVM for now. 2015-06-30 21:52:05 +05:30
Michael Dowling
b0cb490f15 Fixing example. Closes #1149 2015-06-30 09:15:07 -07:00
Michael Dowling
d46277b43e Merge pull request #1146 from itafroma/function-guard
Conditionally require functions.php
2015-06-30 09:00:54 -07:00
hw
7b17a1c54d Fix file permissions on CurlFactory.php. 2015-06-26 11:25:28 +05:30
hw
b08b99ad54 Remove usage of curl_strerror and add comment for checking HHVM specific string. 2015-06-26 11:21:09 +05:30
Mark Trapp
d706b16e29 Conditionally require functions.php 2015-06-25 12:50:04 -04:00
hw
00656b8264 Simplify array assignment. 2015-06-25 13:48:32 +05:30
hw
c8e63f1b1d Don't allow failures in HHVM (at least temporarily). 2015-06-25 11:33:01 +05:30
hw
690f7af914 Fix failure with HHVM in MockHandlerTest::testCanEnqueueCallables() due to difference in how HHVM handles parameters. 2015-06-25 11:10:28 +05:30
hw
7a8a6c6d5c Fix failure with HHVM in StreamHandlerTest::testAddsErrorToResponse(). 2015-06-25 11:09:41 +05:30
hw
a097c55811 Check if curl_strerror() exists before calling it. It is not supported (yet) on HHVM. 2015-06-25 09:47:15 +05:30
Michael Dowling
9c43893a8e Merge pull request #1131 from sagikazarmark/fix/cookie-name
Fix invalid character regex
2015-06-24 18:00:39 -07:00
Michael Dowling
469b165469 Merge pull request #1144 from csarrazi/patch-1
Fixing wrong documentation
2015-06-24 13:38:44 -07:00
Charles Sarrazin
bbe8e32a28 Fixing wrong documentation
Fixed wrong documentation telling that both form_params and multipart could be used at the same time.
2015-06-24 22:37:35 +02:00
Michael Dowling
811c11a4e8 Fixing test 2015-06-24 13:06:42 -07:00
Michael Dowling
d3ae72676a Merge remote-tracking branch 'ged15/master' 2015-06-24 13:05:29 -07:00
Michael Dowling
1247f26103 Bumping psr7 requirement 2015-06-24 13:05:23 -07:00
hw
7a68798ac6 Add check to see if CURLOPT_PROTOCOLS is defined before using it. This
constant is not available on hhvm at this time.
2015-06-25 00:11:18 +05:30
Sági-Kazár Márk
820de92dd7 Fix exception tests 2015-06-24 18:11:32 +02:00
Michael Dowling
5dd6a739fa Removing references to exceptions
Closes #1133
2015-06-24 09:10:18 -07:00
Sági-Kazár Márk
69c0979643 Fix invalid character regex 2015-06-24 18:09:28 +02:00
Michael Dowling
e798cb4daa Adding note about exclusive form options 2015-06-24 09:08:25 -07:00
Michael Dowling
0da18ca665 Trying to fix test on Travis 2015-06-13 19:43:56 -07:00
Michael Dowling
bcb5f42998 Using newer Apache common log link 2015-06-13 17:03:36 -07:00
Michael Dowling
861d2da555 Fixing common log format. Adding date_* format patterns. Closes #1122 2015-06-13 17:00:31 -07:00
Michael Dowling
e812f17245 Fixing json docs 2015-06-13 16:37:58 -07:00
Gediminas Šedbaras
b2e92a9007 failing test for merging Uris using $client->request 2015-06-10 21:08:40 +02:00
Michael Dowling
aa694e9a7e Merge pull request #1111 from urakozz/patch-1
Fixed return type in ClientInterface::requestAsync
2015-06-09 17:59:33 -07:00
Michael Dowling
6533590c74 Merge pull request #1116 from justincwatt/fix-testing-docs
Fix bug in Mock Handler section of testing docs
2015-06-09 17:59:17 -07:00