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

655 Commits

Author SHA1 Message Date
Michael Dowling
195f8458b7 Merge remote-tracking branch 'danack/OauthOptionalVariables' 2013-07-24 14:36:10 -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
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
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
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
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
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
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
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
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
1d401b472e Merge remote-tracking branch 'blongden/master' 2013-06-28 12:10:05 -07:00
Ben Longden
13178c36b0 Fixes todo on splitting headers by ';' 2013-06-28 17:31:37 +01:00
Michael Dowling
ab1841e419 One more fix 2013-06-27 13:01:08 -07:00
Michael Dowling
22656110c5 More test fixes for 5.5 2013-06-27 12:02:33 -07:00
Michael Dowling
4a0e78f709 Another typo fix 2013-06-27 11:53:44 -07:00
Michael Dowling
959d97e39f Fixing test 2013-06-27 11:45:39 -07:00
Michael Dowling
ae02d17866 Trying to fix php 5.5 tests 2013-06-27 11:33:14 -07:00
Ben Longden
c43b822e02 Adds test to Header parseParams 2013-06-27 18:12:44 +01:00
Ben Longden
d546fa9670 Adds test for URL containing '=' 2013-06-27 18:06:10 +01:00
Michael Dowling
6809b59368 Adding a guzzle-perf endpoint to the test server 2013-06-26 17:51:04 -07:00
Michael Dowling
9b1988826b Merge pull request #348 from natmchugh/convert-xmlvisitor-to-xmlwriter
Re-write XmlVisitor to use XMLWriter and handle CDATA
2013-06-26 17:09:13 -07:00
Michael Dowling
097f22b217 Fixing setting default sticky client options 2013-06-26 11:46:43 -07:00
Michael Dowling
1a2c616bd0 Cleaning up and adding tests for malformed URL parsing 2013-06-26 11:36:41 -07:00
Michael Dowling
8f94fcfc40 Allow a Host header to diverge from the URL host. Closes #362 2013-06-26 11:25:10 -07:00
Michael Dowling
c468c74223 Adding cert and ssl_key as request options. Closes #351 2013-06-26 11:21:27 -07:00
Nathaniel McHugh
1a9ee843cc Merge branch 'master' of https://github.com/guzzle/guzzle 2013-06-25 09:22:09 +01:00
Nathaniel McHugh
0e21feef34 Disallow sufix matching of IP address as per RFC6265 http://tools.ietf.org/html/rfc6265#section-5.1.3 2013-06-25 09:18:31 +01:00
Michael Dowling
cae4acd96f Fixing issue with setting options on head requests. Closes #352 2013-06-23 10:19:47 -07:00
Nathaniel McHugh
d4c2954696 * Re-write XmlVisitor to use XmlWriter instead of SimpleXml
* Add test to handle html in element escaped as CDATA
* Add check for html and encode as CDATA
2013-06-12 14:25:31 +01:00
Michael Dowling
9239f08e00 Adding an easier way to set and retrieve default options 2013-06-10 17:17:36 -07:00
Michael Dowling
6743aed41f Better decoupling of requests from CurlMulti 2013-06-09 20:01:54 -07:00
Michael Dowling
caed0ab1aa Client::expandTemplate() and Client::getUriTemplate() are protected 2013-06-09 13:41:02 -07:00
Michael Dowling
505bb7b665 request.params is deprecated. Use request.options/params. Adding params request option. 2013-06-09 11:14:47 -07:00
Michael Dowling
933074107d Marking CurlAuthPlugin as deprecated 2013-06-09 01:31:44 -07:00
Michael Dowling
e29fcc71fd Adding the ability to specify default request options for every client request
Adding Guzzle\Common\Collection::setPath($path, $value)
Marking setDefaultHeaders() and getDefaultHeaders() as deprecated on a
Client.
Added the ability to provide flags when applying RequestFactory options.
This allows for things like applying options in a default manner so that
they do not overwrite existing values.
2013-06-09 01:25:35 -07:00
Michael Dowling
c2e9f5e269 More improvements to QueryString 2013-06-08 00:22:30 -07:00
Michael Dowling
a5a6b87f69 Removing the need for a temp variable 2013-06-07 23:08:40 -07:00