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
Victor Sollerhed
706b20e42e
Adding unit test case (in data provider) covering that if you use Url::buildUrl with an empty string, you should get an empty string as result.
2013-01-25 11:46:13 +01:00
Michael Dowling
1ec658b251
CS fixes
2013-01-24 10:45:28 -08:00
David Abdemoulaie
6c19fca9d1
Adding Accept-Encoding header now sets CURLOPT_ENCODING - fixes #217
2013-01-23 20:44:50 -06:00
Jeremy Lindblom
f9e12d2842
Updated client to not clobber user agent when setting default headers
2013-01-23 12:48:34 -08:00
Victor Sollerhed
923f03311e
Adding unit test case covering that if you use the Url factory with an empty string, you should get an empty string as result.
2013-01-23 20:04:46 +01:00
Michael Dowling
53260156a5
Refactoring how operation responses are parsed
...
Fixing a bug that did not allow clients to set response processing of a command
Adding a VisitorFlyweight for creating request and response visitors
Removing the owning of visitors from request and response parsers/serializers
Adding before() method to response location visitors
Moving the default parsing logic of JSON and XML from operation parser to location visitor before() methods
Only triggering after() commands on location visitors associated with an operation
Closes #214
2013-01-22 23:53:52 -08:00
Michael Dowling
88a3b02424
Adding a composite resource iterator factory and improving interface
2013-01-20 16:31:35 -08:00
Michael Dowling
2d2637ce11
Adding alias support to service builders
2013-01-19 19:03:06 -08:00
Michael Dowling
6fa131581a
Adding wildcard capabilities to getPath()
2013-01-19 19:01:19 -08:00
Michael Dowling
6f9bb726e9
Fixing code coverage annotations
2013-01-13 13:24:44 -08:00
Michael Dowling
7d69884a57
Adding support for extends in service description parameters
2013-01-13 13:24:19 -08:00
Michael Dowling
e4133557f0
Renaming canCache() to canCacheRequest()
2013-01-13 11:52:55 -08:00
Michael Dowling
b9ebd859a7
Added context array to RequestInterface::setState()
...
Removed curl.last_options from request parameters
Added CurlHandle to request.sent event
CurlException now extends from RequestException rather than
BadResponseException
2013-01-12 21:09:32 -08:00
Michael Dowling
9150653a95
Adding getModels() to ServiceDescriptionInterface
2013-01-12 20:28:43 -08:00
Michael Dowling
0688c9c598
PHP-CS-Fixer
2013-01-12 13:43:21 -08:00
Michael Dowling
45618b963a
Adding a getData method to a service builder to retrieve builder data
2013-01-12 13:40:01 -08:00
Michael Dowling
3b3d622e93
Filtering additionalProperties and array items
2013-01-11 21:47:58 -08:00
Michael Dowling
b2dbb49040
Merge remote-tracking branch 'elgris/master'
2013-01-11 21:45:10 -08:00
Michael Dowling
fb4d7473d5
Cleaning up filtering
2013-01-11 18:11:35 -08:00
Ivan Kirichenko
a91d66b797
Commit aim: perform filtration of command parameters without changing of command's parameters values.
...
Changes:
- Validation without filtration added
- Tests for this functionality added
- Extra lines and spaces removed
2013-01-11 13:19:31 +04:00
Michael Dowling
38327cbf4e
Adding tests for IoEmittingEntityBody
2013-01-09 23:11:35 -08:00
Michael Dowling
625cc42b75
Cleaning up the XML serializer
...
Closes #182
2013-01-09 22:30:31 -08:00
Michael Dowling
c26db3b08a
Refactoring CachePlugin to allow for more flexibile cache filtering
...
Adding canCacheResponse to CanCacheStrategyInterface
Adding integration test to ensure it works
Closes #203
2013-01-09 18:27:39 -08:00
Michael Dowling
06d04ea562
Making service descriptions a bit more flexible
...
Adding extra data into descriptions when using factory
Adding getData to the ServiceDescriptionInterface
2013-01-09 16:40:11 -08:00
Michael Dowling
10cad60cf1
Moving getPath() from Guzzle\Service\Resource to Guzzle\Common\Collection
2013-01-08 23:10:57 -08:00
Michael Dowling
b5c6eb69b6
Code coverage for Collection
2012-12-30 21:18:31 -08:00
Michael Dowling
74176d3415
Easier exception thrown when sending commands in parallel
...
Adding CommandTransferException
Cleaning up Exceptions thrown from multi transfer
Closes #197
2012-12-30 14:05:06 -08:00
Michael Dowling
3f51bf4f32
Making it easier to work with exceptions thrown during multi transfers. Addresses #197
2012-12-30 11:25:32 -08:00