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

751 Commits

Author SHA1 Message Date
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
2cde3a8377 Adding license, changelog, and readme to PEAR package. Closes #192 and #193 2013-01-09 17:15:57 -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
081b119bb3 Making XML to array conversions extendable in subclasses 2013-01-08 23:03:00 -08:00
Michael Dowling
8da4aabb2e Fixing JSON visitor to add content-type when needed. Closes #200 2013-01-08 14:46:37 -08:00
Michael Dowling
a2e051ce52 Code coverage ignore on failing to open body for response 2012-12-30 21:22:54 -08:00
Michael Dowling
b5c6eb69b6 Code coverage for Collection 2012-12-30 21:18:31 -08:00
Michael Dowling
fb9c94ef86 Code coverage ignore on CurlMulti 2012-12-30 21:16:47 -08:00
Michael Dowling
4dc32e5934 Cleaning up ExceptionCollection and descendents 2012-12-30 21:15:59 -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
Michael Dowling
b327a0c8b7 Cleaning up CurlException messages and adding a getCurlInfo() method 2012-12-30 09:36:33 -08:00
Michael Dowling
4988475a01 Removing hard dep on BackoffPlugin
Making blocking a curl multi loop more generic so it can be used in other places
Closes #196
2012-12-30 09:10:36 -08:00
Michael Dowling
f31f35d166 Tagging for 3.0.7 v3.0.7 2012-12-19 15:06:35 -08:00
Michael Dowling
cc9beb3162 Fixing phar detection when forcing a cacert to system if null or true 2012-12-13 16:49:17 -08:00
Michael Dowling
c5a76296ba Cleaning up the Collection object inject method and adding missing test 2012-12-13 14:15:43 -08:00
Michael Dowling
3eb19b745b Adding a response_body location to service descriptions to more easily change the location in which a response entity body is saved 2012-12-10 18:35:58 -08:00
Michael Dowling
8206dbcbfe Allowing a filename to be passed into $request->setResponseBody() 2012-12-10 16:51:40 -08:00
Michael Dowling
09c2a09584 Tagging 3.0.6 v3.0.6 2012-12-09 21:25:04 -08:00
Michael Dowling
ab5e9737b7 Merge remote-tracking branch 'tploch/fix-curl-handle-test' 2012-12-09 17:07:02 -08:00
Michael Dowling
4ca0b5c319 Merge remote-tracking branch 'simensen/make-3-0-x-dev-installable' 2012-12-09 17:04:00 -08:00
Michael Dowling
b92f4a3f9f Optimizing CurlMulti implementation to better deal with exponential backoff and -1 return values from curl_multi_select 2012-12-09 17:00:08 -08:00
Thomas Ploch
ae04e61fa6 Fixed the dataProvider in the CurlHandleTest.
- dataProvider methods can't mark a test as incomplete, only the
  test method itself can, so I removed .
- Made dataProvider use 'phpunit.xml.dist' over 'phpunit.xml' for
  the test to pass without phing build.
- Fixed corresponding test case to not check for 'application/xml'
  and 'phpunit.xml' but rather 'application/octet-stream' and
  'phpunit.xml.dist'
2012-12-09 09:59:25 +01:00
Beau Simensen
56086d22af Make 3.0.x-dev installable. (3.0.*@dev) 2012-12-07 08:45:11 -08:00
Michael Dowling
c3a9ce0be6 Adding setErrorResponses() to Operation 2012-12-06 17:20:23 -08:00
Michael Dowling
6793174612 Syncing deps with guzzle/guzzle 2012-12-05 18:27:44 -08:00
Michael Dowling
f92b4d80c1 Merge pull request #187 from Crell/patch-1
Update composer.json
2012-12-05 12:48:51 -08:00
Larry Garfield
26eccce10b Fix composer syntax. 2012-12-05 13:08:49 -06:00
Crell
c5ef45aada Update composer.json
Allow use of Symfony Event Dispatche releases later than 2.1, i.e., the current dev version.  (This is necessary for Drupal, which is tracking Symfony master.)
2012-12-05 12:10:23 -06:00
Michael Dowling
a7ef21155f Merge pull request #181 from jgskin/master
Curl requirement for Guzzle\Http composer
2012-11-19 18:57:25 -08:00
Jessé Alves Galdino
7248ab8a2f Update Guzzle\Http composer with curl requirement 2012-11-19 20:20:32 -02:00
Michael Dowling
51d8443c04 Removing broken tagging stuff from deployment scripts 2012-11-18 16:37:53 -08:00
Michael Dowling
184407e254 Tagging 3.0.5 v3.0.5 2012-11-18 16:15:33 -08:00
Michael Dowling
b3c6957033 Cleaning up some longer methods 2012-11-18 16:07:13 -08:00
Michael Dowling
5afac1063e Adding better mimetype guessing based on file extensions 2012-11-17 21:28:55 -08:00
Michael Dowling
fe867192cf Fixing custom HTTP requests that include a body. Closes #171 2012-11-17 17:34:27 -08:00
Michael Dowling
3a428eef7e Cleaning up XML repsonse processing. Making sure XMLAttribute test tests against actual XML 2012-11-17 16:17:09 -08:00
Michael Dowling
15e909b0ed Merge remote-tracking branch 'dboune/feature/xml-attributes' 2012-11-17 15:54:04 -08:00
Michael Dowling
68a33b6cbb Adding test to ensure URI template arrays are checked without warnings when the array is invalid 2012-11-17 15:29:14 -08:00
Michael Dowling
06bc285a90 Merge remote-tracking branch 'adrienbrault/patch-2' 2012-11-17 15:24:08 -08:00
Michael Dowling
3f52be9e38 Merge remote-tracking branch 'adrienbrault/fix-uri-param-array' 2012-11-17 15:22:07 -08:00
Michael Dowling
9e340a4e60 Merge pull request #179 from jcarouth/bug-equalsinuri
Parse query vars containing equals sign (=)
2012-11-17 15:10:31 -08:00
Michael Dowling
85435e9557 Merge pull request #175 from adrienbrault/patch-1
Fix Operation::setReponseType exception message
2012-11-17 14:52:55 -08:00
Michael Dowling
743e754e99 Merge pull request #178 from jcarouth/skiptestsformissingextension
Skip tests when missing uri_template extension
2012-11-17 14:51:15 -08:00
Jeff Carouth
ac6bc9d0fb Skip tests when missing uri_template extension
When the PECL uri_template extension is not installed, tests
which rely upon it should be skipped gracefully.
2012-11-16 19:31:06 -06:00
Jeff Carouth
bc239e71f9 Parse query vars containing equals sign (=)
When a query variable contains an equals sign, the QueryString
parsing will strip the equals sign. One example of would be with
base64 encoded strings containing an equals sign at the end for
padding. While this issue can be prevented by simply urlencoding
the URL, cURL, for example, handles this gracefully.
2012-11-16 19:27:07 -06:00