Michael Dowling
624ead32fb
Preventing infinite recursion when resolving includes. Closes #255
2013-03-06 23:39:08 -08:00
Michael Dowling
d7b9d3cd3a
Using union rather than merge when extending operations and adding tests. This has no effect other than speed improvements because when merging arrays where the key is a string, the last value overwrites the previous. However, this may fix edge cases where someone is defining arrays in their models for some reason.
2013-03-06 23:11:41 -08:00
Michael Dowling
2f4d017aee
Not adding default empty arrays or booleans when parsing XML that is not set. Now more consistent with the request JsonVisitor and API responses can more likely be reused as inputs.
2013-03-06 22:45:25 -08:00
Michael Dowling
e03795e5a6
Adding the ability to serialize and XML payload even if no XML parameters were set.
2013-03-06 22:24:42 -08:00
Jonathan Hedstrom
bc183dccd4
Sorting all parameters prior to OAuth signing.
2013-03-06 08:45:51 -08:00
Jonathan Hedstrom
8711d3f829
Adding a test for multi-dimensional arrays.
2013-03-05 17:11:05 -08:00
Michael Dowling
62f3458277
Adding missing param filtering when visiting response headers
2013-03-03 22:35:49 -08:00
Michael Dowling
ea77655a11
Adding an ErrorResponse plugin that can throw specific exceptions based on a service description
2013-03-03 13:25:16 -08:00
Michael Dowling
a2ee43c186
Adding support in Guzzle to instantiate custom responseType="class"
...
responseClass objects by implementing ResponseClassInterface.
Closes #248 .
2013-03-03 11:55:58 -08:00
Michael Dowling
c5c24ae1a3
Adding support for additionalProperties in response models
2013-03-02 23:18:11 -08:00
thewilkybarkid
e884f5a48d
Handle stale-if-error directive
2013-02-28 14:15:02 +00:00
thewilkybarkid
76f7287322
Store cached responses for longer, allowing stales to be served
2013-02-27 11:21:20 +00:00
Michael Dowling
81d15dd3e0
Merge pull request #247 from thewilkybarkid/cache-debug-headers
...
Cache debug headers
2013-02-26 10:30:03 -08:00
thewilkybarkid
41df91d352
Add Via headers to requests/responses going through the cache plugin
2013-02-25 12:46:24 +00:00
thewilkybarkid
7b10768a4c
Add X-Cache and X-Cache-Lookup headers to responses
2013-02-25 12:40:46 +00:00
thewilkybarkid
e91bf037ce
Response is only stale if the age is greater than the max-age
2013-02-25 11:12:27 +00:00
Michael Dowling
bc2a86d1b1
Allowing more return types from the Response::json() method. Closes #244
2013-02-24 19:38:40 -08:00
Michael Dowling
0234efc6e1
Not converting stream wrapper and type to lowercase
2013-02-23 15:35:22 -08:00
Michael Dowling
b723c4d35b
Moving the request param curl.emit_io to curl options under emit_io
2013-02-23 14:05:13 -08:00
Michael Dowling
c6fafe5c55
Fixing a unit test
2013-02-23 00:36:38 -08:00
Michael Dowling
31a1a522fa
Setting a service description no longer messes with command factories
...
Adding some missing inheritdoc docblocks
2013-02-22 22:19:07 -08:00
Michael Dowling
ff6738a028
Refactoring setUserAgent and Removing Guzzle\Http\Utils
...
Guzzle\Http\Client::setUserAgent() now simply accepts a string as input
2013-02-22 22:07:19 -08:00
Michael Dowling
3f8568c76b
Removing unnecessary CURLOPT_USERAGENT settings
2013-02-21 16:38:58 -08:00
Adrian Macneil
47f4942f39
Allow calling setAuth() with a blank password. Closes #239
...
This supports APIs such as Stripe which only require a username to authenticate.
2013-02-16 10:38:38 +07:00
Michael Dowling
69ad0affa2
The encoding scheme used by Guzzle\Http\QueryString can now be
...
customized
Guzzle\Http\QueryString no longer accepts a callback function for
aggregation but rather uses QueryAggregatorInterface objects.
Addresses #238 .
2013-02-13 23:28:44 -08:00
Aurélien Thieriot
500b63986c
Make a choice when max-age is present twice
2013-02-13 10:04:45 +00:00
Michael Dowling
17af797f0f
Adding a way to explode all headers on glue using the normalize method
2013-02-10 19:30:29 -08:00
Michael Dowling
a8dc1189aa
Headers are no longer split on a default glue of "," when adding
...
Rolls back 2f8565b46ac721259497a39e7f458a720acf9d64
This is necessary to work well with headers with commas (e.g. Date)
2013-02-10 15:16:48 -08:00
Michael Dowling
c57b28e111
Adding setData() to service descriptions
2013-02-09 18:03:39 -08:00
Michael Dowling
88745129f1
Can now customize XML encoding. Closes #232
2013-02-07 21:01:23 -08:00
Michael Dowling
7fcf34bb34
Merge pull request #233 from frosas/do-not-reuse-curlmulti
...
Don't reuse CurlMulti
2013-02-07 15:29:31 -08:00
Francesc Rosàs
228b147d4d
Don't reuse CurlMulti
2013-02-08 00:04:54 +01:00
Michael Dowling
e290a773bc
Fixing infinite loop when using default exponential backoff plugin for 500 responses
2013-02-05 13:38:20 -08:00
Michael Dowling
5c2f8a176f
Adding ToArrayInterface to Event
2013-02-02 20:14:53 -08:00
Michael Dowling
2f8565b46a
Updating headers to split using glue when added
2013-01-31 22:28:06 -08:00
Michael Dowling
d21c5886a3
Removing overly verbose covers annotations from UrlTest
2013-01-31 22:09:55 -08:00
Michael Dowling
f4f154c06f
Merge remote-tracking branch 'mpv/master'
2013-01-31 22:06:22 -08:00
Michael Dowling
e749ffe6f8
Merge pull request #227 from hobodave/refactor-url
...
Refactor URL implementation per RFC-3986
2013-01-31 22:00:46 -08:00
Michael Dowling
08812f77ba
Fixing some formatting
2013-01-31 17:18:35 -08:00
David Abdemoulaie
db5b96d08d
Fixes edge-cases in Url, QueryString, and Request
...
Falsy values (the string "0") are now handled properly
e.g. http://foo.com?0 , http://foo.com#0
2013-01-31 14:35:20 -06:00
Vitaliy Kalachikhin
623c4156a2
Fixing the bug when filters are not invoked for 'array' operation parameter type, adding unit test for this as well
2013-01-31 22:21:27 +04:00
Michael Dowling
cde72ff57a
Path for requests must always be absolute. Optimizing Url::__toString().
2013-01-30 20:51:56 -08:00
David Abdemoulaie
0d71baf35b
Request resource must always be an absolute path
2013-01-30 18:48:28 -06:00
David Abdemoulaie
8aabcebef1
QueryString::$prefix is now completely unnecessary - removed
2013-01-30 17:32:43 -06:00
David Abdemoulaie
74b55d0c85
Remove query_prefix from Url parts
2013-01-30 17:29:35 -06:00
David Abdemoulaie
3942ab7eff
Merge remote-tracking branch 'origin/master' into refactor-url
2013-01-30 17:17:57 -06:00
David Abdemoulaie
d0f2aff142
Massive refactoring of Url, QueryString, and Request for RFC3986
...
TODO: ArrayCookieJar & tests are failing
2013-01-30 17:16:42 -06:00
Michael Dowling
6233395918
Fixing redirect response chaining. Closes #223
2013-01-26 00:20:43 -08:00
Ben Parker
5e0ff2ef20
Changes value of CURLOPT_SSL_VERIFYHOST set in Http Client
...
1 as a value for CURLOPT_SSL_VERIFYHOST is deprecated
in libcurl 7.28.1, recommended value is now 2
2013-01-25 22:40:55 +00:00
Victor Sollerhed
fee166a5cc
Fixing indentation in UrlParserProvider.php
2013-01-25 11:49:12 +01:00