1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 02:22:57 +01:00

1315 Commits

Author SHA1 Message Date
Michael Dowling
195f8458b7 Merge remote-tracking branch 'danack/OauthOptionalVariables' 2013-07-24 14:36:10 -07:00
Michael Dowling
962673ead2 Cleaning up cURL loop 2013-07-24 14:34:37 -07:00
Michael Dowling
a9e33bf5b3 Cleaning some of the curl_multi implementation and related tests 2013-07-24 14:34:37 -07:00
Danack
97802d7c63 Spelling typo. 2013-07-24 15:39:27 +01:00
Danack
93777f80b8 Fixed issue where request params were being copied to the Authorization header.
Reverted test to remove incorrect strings, but left order be flexible.
2013-07-24 15:23:00 +01:00
Danack
af5e05a586 Removed duplicate code for getting params to sign.
Made optional params only be signed if they have been set in the config, and not null by default.
Added test to check that optional params have not been added if they were not set in the config for the OauthPlugin.
2013-07-24 02:50:19 +01:00
Danack
f5b5b3b77f Fixed broken test. Get parameters should be used to make to the signature.
http://oauth.net/core/1.0a/#anchor13
9.1.1.  Normalize Request Parameters
The request parameters are collected, sorted and concatenated into a normalized string:
HTTP GET parameters added to the URLs in the query part (as defined by [RFC3986] section 3).
2013-07-24 01:35:37 +01:00
Michael Dowling
9faeeaf4ba Merge pull request #386 from h4cc/patch-1
Array access error on request.error listener.
2013-07-18 13:50:44 -07:00
Julius Beckmann
17439908f5 Fixed array access error on request.error listener closure
When using a request.error listener in the client, a array access error was triggered.
2013-07-18 22:20:09 +02:00
Julius Beckmann
97638f0f22 Added a Test with disabled exceptions, but a request.error listener at the client. 2013-07-18 22:15:26 +02:00
Michael Dowling
f5873446b2 Merge pull request #383 from squirly/patch-1
Fixed Collection access in Oauth Plugin
2013-07-17 13:32:53 -07:00
Tyler Jones
51a3a2d029 Fixed Collection access in Oauth Plugin
A Collection was being accessed with a built-in array function.
2013-07-16 15:39:13 -07:00
Michael Dowling
d7d77e6747 Moving perf endpoint to guzzle-server. Updating server controls 2013-07-16 14:15:25 -07:00
Michael Dowling
3c89382daf Fixing content-length for test server perf response 2013-07-15 23:14:41 -07:00
Michael Dowling
92d0ffa449 Updating perf serve to consume input string 2013-07-15 22:07:34 -07:00
Michael Dowling
f1f84382d9 Removing a couple of unnecessary checks in curlmulti 2013-07-15 11:54:35 -07:00
Michael Dowling
07c025bc95 Renaming event to better fit with other events 2013-07-14 16:41:45 -07:00
Michael Dowling
003cacda22 Making injecting the result into the event more explicit and automatically stop propagation 2013-07-14 16:29:40 -07:00
Michael Dowling
a83fcd1b4f Adding an event based way to create custom domain models from service description responses 2013-07-14 16:29:40 -07:00
Michael Dowling
713f92dcc2 Merge branch 'master' into cookie-fix 2013-07-14 16:25:23 -07:00
Michael Dowling
a5089fd36c Finishing up the cookie domain matching fixes 2013-07-14 16:24:56 -07:00
Michael Dowling
2c4ece62e1 Merge pull request #381 from guzzle/querystring-guess-aggregator
Guessing when to use DefaultAggregator vs PhpAggregator when parsing que...
2013-07-13 22:32:36 -07:00
Andy Hu
112681f1fa Try it again. When the domain is an IP and is identical from the cookie domain, it should match, however if the cookie domain is something like .127.0.0.1, it shouldn't match 2013-07-14 07:35:01 +08:00
Michael Dowling
78188ed03e Guessing when to use DefaultAggregator vs PhpAggregator when parsing query strings. Address #379 2013-07-13 14:06:46 -07:00
Andy Hu
7c16fb38d2 Removed a test case that won't happen in real world where made #378 failed by testing 2013-07-14 02:55:47 +08:00
Michael Dowling
c87adaa38b dispatch now returns the event that was created 2013-07-13 11:34:41 -07:00
Andy Hu
069b8cd717 Consider an extreme case in the test:
Cookie domain: .127.0.0.1
Actual domain: 127.0.0.1
This cookie shouldn't be matched
2013-07-14 02:16:05 +08:00
Andy Hu
fdd9e4c8f3 #377 fix the issue in matchDomain method 2013-07-14 01:50:36 +08:00
Andy Hu
49ad50059a #377 fix the issue in matchDomain method 2013-07-14 01:46:55 +08:00
Andy Hu
0da5498627 #377 fix the issue in matchDomain method 2013-07-13 18:59:30 +08:00
Michael Dowling
1f33485b6e Merge pull request #374 from Danack/patch-3
Used correct encoding for test setup and expectation.
2013-07-11 16:30:45 -07:00
Michael Dowling
513ce7688b URL encoding paths earlier so that grabbing the path value reflects exactly what will be sent over the wire 2013-07-11 16:16:45 -07:00
Michael Dowling
f2d24d0fbc URL encoding special characters in path when casting a URL to string
Removing unneeded escaping in the PHP-land URI template implementation
Addresses #371
2013-07-11 15:46:03 -07:00
Danack
28a9c22d14 Used correct encoding for test setup and expectation.
The above test was not running for on OSX + 5.4, but was running fine for all versions of Linux.

The issue this changed fixes is:
i) The standard spelling for the encoding is UTF-8 not utf8.
ii) XMLWriter on OSX apparently transparently converts the non-standard spelling to the standard spelling.

That made the test fail on OSX even though it works for Linux machines.
2013-07-11 02:32:02 +01:00
Michael Dowling
dbdc6eaff8 URL encoding spaces when using the PHP-only version of the UriTemplate expander. Closes #371 2013-07-10 15:09:35 -07:00
Michael Dowling
633e706698 Merge pull request #372 from Danack/patch-2
Fixed 'typo'.
2013-07-10 12:37:17 -07:00
Danack
fbc26a60f5 Fixed 'typo'.
I'm almost certain you didn't mean to use a global variable.
2013-07-10 20:36:00 +01:00
Michael Dowling
aa68be2fa3 3.7.1 v3.7.1 2013-07-05 13:17:54 -07:00
Michael Dowling
b1677c0002 Returning false if Guzzle\Http\EntityBody::getContentMd5() fails
Not setting a `Content-MD5` on a command if calculating the Content-MD5 fails via the CommandContentMd5Plugin
2013-07-02 12:53:26 -07:00
Michael Dowling
7949ba06b3 Merge pull request #370 from StanAngeloff/issue/xmlns-in-response-rebased
Response/XmlVisitor cannot accept 'xmlns' in response (rebased)
2013-07-02 09:15:48 -07:00
Stan Angeloff
37df164040 Mark failing test for guzzle/guzzle/#368 as skipped. 2013-07-02 09:19:35 +03:00
Stan Angeloff
09cbdd73c8 Issue: Add failing test for guzzle/guzzle/#368. 2013-07-02 09:19:35 +03:00
Michael Dowling
124e079dfd Using a static array for converting a parameter to an array 2013-07-01 15:03:47 -07:00
Michael Dowling
4c11c0a1e4 Prepping for 3.7.1 2013-06-30 17:40:59 -07:00
Michael Dowling
19c72f2761 Fixing docblock for XmlVisitor 2013-06-30 17:40:34 -07:00
Michael Dowling
1a926cca69 Merge pull request #367 from blongden/patch-1
Update README.md
2013-06-30 16:53:03 -07:00
Ben Longden
2c5e41ad47 Update README.md 2013-06-30 11:21:03 +01:00
Ben Longden
e3b87f7707 Update README.md
Add information about running tests with xdebug enabled.
2013-06-30 11:14:39 +01:00
Michael Dowling
2d86f6188a Tweaking param parsing 2013-06-28 12:13:32 -07:00
Michael Dowling
1d401b472e Merge remote-tracking branch 'blongden/master' 2013-06-28 12:10:05 -07:00