Martin Halamicek
83dfdaebcf
Log/MessageFormatter - check if response is passed
2013-05-23 13:49:30 +02:00
Michael Dowling
8a14a60dcc
Adding command.hidden_params to mark arbitrary command options as not additional parameters
2013-05-18 18:16:38 -07:00
Michael Dowling
561dfd8408
ServiceDescription now implements toArrayInterface
2013-05-18 15:06:50 -07:00
Pierre-Yves LEBECQ
f9a365ca8b
Fixed an undefined index notice when using sentAs with the response JsonVisitor.
2013-05-13 18:29:42 +02:00
Michael Dowling
91e946b157
Cleaning up cloning EntityEnclosingRequest
...
No need to get keys when cloning request headers
Removing queued mock events after one-time use
Only writing to custom resonse body for mock when not a redirect
2013-05-12 17:58:31 -07:00
Michael Dowling
f7ec7f788e
Fixing message formatter use of Curl handles. Closes #316
2013-05-10 21:25:44 -07:00
Michael Dowling
b79634f189
Deprecating ZF1 log and cache adapters.
...
Removing ZF1 tests that required some hacky tests and composer settings
CS fixes
2013-05-10 21:16:12 -07:00
Michael Dowling
3b14a01963
Fixing tests
2013-05-10 20:46:21 -07:00
Michael Dowling
04a8d47b77
Better handling of setting the effective URL
2013-05-10 17:44:48 -07:00
Michael Dowling
8c1b080235
Correctly handling effective URLs for responses
2013-05-10 16:20:48 -07:00
Michael Dowling
1742bacfe1
Removing old redirect hack
2013-05-10 16:12:36 -07:00
Michael Dowling
328029c2bc
Adding coverage for casting the history plugin to a string
2013-05-10 16:07:51 -07:00
Michael Dowling
2017544e8f
Updating HistoryPlugin and tests
2013-05-10 16:03:15 -07:00
Michael Dowling
82fa11cacd
Cleaning up request state management
...
Removing RedirectHistory (just use the HistoryPlugin)
Adding getEffectiveUrl() and getRedirectCount() to Response
Updating HistoryPlugin to more accurately reflect over the wire
2013-05-10 15:51:02 -07:00
Michael Dowling
aae077a12b
Test cleanup
2013-05-10 11:24:55 -07:00
Michael Dowling
c96e99ef15
More cleanup between requests and redirect history
2013-05-10 11:21:33 -07:00
Michael Dowling
56c93d08c2
More fixes to redirects
2013-05-10 11:01:59 -07:00
Michael Dowling
15abfe65e2
Removing some circular references
...
Better cleanup of CurlMulti handles on exceptions
curl.callback.progress emits a resource rather than CurlHandle
Removing curl_handle and curl_multi debug Request params
2013-05-09 15:34:47 -07:00
Michael Dowling
673b4017f5
Fixing regression introduced when parsing nested XML.
2013-05-08 00:04:38 -07:00
Michael Dowling
6e48b4db00
Cleaning up the MockPlugin
2013-05-01 17:13:13 -07:00
Michael Dowling
c2281ba97b
Fixing redirect responses
2013-04-30 11:30:34 -07:00
Jeremy Lindblom
6f0363f4b7
Fixed two issues with the date formatting logic in Service\Description\SchemaFormatter
2013-04-29 13:19:42 -07:00
Michael Dowling
0f991407bc
Configuration loading now allows remote JSON files. Closes #306 . Preparing for release
2013-04-29 12:50:03 -07:00
Michael Dowling
72aa99df4d
Cleaning up how responses are queued on requests
2013-04-28 17:53:45 -07:00
Michael Dowling
b158adf2bb
Fixing stale-if-error in CachePlugin and mocking CurlExceptions
2013-04-28 16:52:28 -07:00
Michael Dowling
b4b7152102
Adding the ability to queue exceptions for requests with the MockPlugin. Closes #303 .
2013-04-26 12:13:31 -07:00
Michael Dowling
1f024e0e11
Fixing the AsyncPlugin. Closes #304 .
2013-04-24 18:03:59 -07:00
Michael Dowling
026a68286d
Using utf-8 charset for application/x-www-form-urlencoded POST requests
2013-04-24 15:36:24 -07:00
Michael Dowling
9ba6513612
Allowing the setting of multiple POST files for the same key in one call
2013-04-23 14:50:50 -07:00
Michael Dowling
487250f2c6
Better handling of Content-Length and chunked Transfer-Encoding collisions
2013-04-23 12:41:26 -07:00
Michael Dowling
fb039fec6e
Adding test to ensure events are proxied
2013-04-16 13:30:26 -07:00
Michael Dowling
ebad28f026
Removing all the popsicle sticks from sending requests with curl_multi
2013-04-16 02:43:07 -07:00
Michael Dowling
69e3f83717
Fixing how names are added to models. Closes #298
2013-04-15 13:42:27 -07:00
Michael Dowling
e64ff8e8bc
Adding support for CurlFile in PHP 5.5. Closes #296 .
2013-04-13 19:52:36 -07:00
Michael Dowling
5e9b3bfdef
Trying to ucfirst a command when using the service description command factory
2013-04-13 19:24:12 -07:00
Michael Dowling
99c8f279cf
Fixing how errors are aggregated when sending multi transfers. Adding isRedirect() flag to requests.
2013-04-10 16:18:24 -07:00
Michael Dowling
5378566588
Fixing ReadLimitEntityBody::__toString() when the wrapped body is empty
2013-04-08 15:59:52 -07:00
Michael Dowling
de755baecc
Making the default CURLOPT_CONNECTTIMEOUT more forgiving and closer to the default value of 300s
2013-04-08 13:46:42 -07:00
Michael Dowling
cdb1da7d1a
Properly merging URLs and removing dot segments based on RFC 3986 section 5.4. Closes #288 and #289 .
2013-04-08 13:05:09 -07:00
Michael Dowling
6f044c5c7e
Using the Content-Type of the EntityBody if one cannot be determined by the request path
2013-04-06 17:50:51 -07:00
Michael Dowling
863998bbdb
Auto-detecting Content-Type of a request
...
- A Content-Type header will be added to a request automatically based
on the path of the request if a Content-Type header was not
specifically set. Pass `false` to the second parameter of
EntityEnclosingRequest::setBody() to not auto-detect a value.
- Removing default return value of application/octet-stream from
EntityBody::getContentType()
2013-04-06 17:36:57 -07:00
Michael Dowling
8ecb04187f
Adding more connection timeout checks
2013-04-05 10:51:51 -07:00
Michael Dowling
176d928fe4
Renaming additionalProperties to additionalParameters
2013-04-03 13:23:46 -07:00
Michael Dowling
31ccefd2f2
Adding support for additionalProperties for parameters in service descriptions. Addresses #270
2013-04-03 13:23:46 -07:00
Michael Dowling
cfd7f672e8
Improving the CachingEntityBody
...
Fixing the stream size of a caching entity body to allow the size to be
the greater of the buffer or remote stream.
Fixing __toString() to properly combine the buffer and remote stream
Skipping bytes written over the remote stream to emulate how other r/w
PHP streams work (you overwrite bytes, you don't insert bytes and push
out things after it).
Using fstat() for local streams rather than loading streams into memory
and getting the strlen() (previously used for temp streams).
2013-04-03 10:24:33 -07:00
Michael Dowling
1e0a4c1b3e
Adding tests and fixes to the CachingEntityBody decorator
2013-04-02 12:35:09 -07:00
Michael Dowling
c94eaa8f0c
Adding a caching entity body decorator and cleaning up other entity body decorators
2013-04-01 18:22:26 -07:00
Michael Dowling
a59e5a1695
Adding cacert file to phar and more cert validation
...
Addresses #280 .
2013-03-31 23:35:10 -07:00
Michael Dowling
ab8d35fbdf
Adding the ability to PURGE requests from the cache. Addresses #241 .
2013-03-30 19:18:40 -07:00
Michael Dowling
9da0ac2123
You can now send any EntityEnclosingRequest with POST fields or POST
...
files and cURL will handle creating bodies
* Lots of cleanup to CurlHandle::factory and RequestFactory::createRequest
* POST requests using a custom entity body are now treated exactly like PUT
requests but with a custom cURL method. This means that the redirect
behavior of POST requests with custom bodies will not be the same as POST
requests that use POST fields or files (the latter is only used when
emulating a form POST in the browser).
* Closes #266
2013-03-28 23:48:55 -07:00