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

1118 Commits

Author SHA1 Message Date
Evan Heidtmann
5dda915a03 Revise wording for exception if curl is not present 2013-05-25 16:40:48 -07:00
Evan Heidtmann
877f9c1108 Throw a RuntimeException if the cURL extension is not present 2013-05-25 09:46:56 -07:00
Michael Dowling
f833fda488 Deprecating setTokenizedHeader and getTokenizedHeader. These never actually worked correctly. Use $header->parseParams() instead. 2013-05-23 17:04:03 -07:00
Michael Dowling
8e292896c5 Removing unused setGlue() 2013-05-23 16:42:49 -07:00
Michael Dowling
e68bc9fd95 Adding the ability to parse Link headers in a response
Adding a parseParams method to header objects that can be used across the project.
2013-05-23 16:36:02 -07:00
Martin Halamicek
5ff347ee88 Code style issues 2013-05-23 14:12:48 +02:00
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
Michael Dowling
e97207d07d 3.5 release v3.5.0 2013-05-13 13:17:47 -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
f652366d0c Better cleanup of one-time use MockPlugin event 2013-05-12 18:04:20 -07: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
6f7b732661 Adding better cleanup of events to the RedirectPlugin 2013-05-10 17:22:12 -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
db1d7ae3aa Using a small clone of a request when setting on a response to avoid a circular reference 2013-05-10 13:03:51 -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
620f324f01 Refactoring redirects 2013-05-09 22:17: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
9b99f7af10 Aliasing ResponseBodyVisitor and fixing throws statement 2013-05-08 00:02:25 -07:00
Michael Dowling
037ba252f6 Merge pull request #315 from bradfeehan/magic-method-compatibility
Make __call arguments required for consistency
2013-05-06 10:31:20 -07:00
Brad Feehan
d18da74ca8 Make __call arguments required for consistency
Making the second argument optional presents difficulty with some
testing libraries (namely Mockery) which subclasses a given class and
overrides __call() without the second argument being optional. This
gives a PHP error "Declaration must be compatible with that of
{superclass}".

The second argument is always provided by PHP, so there shouldn't be any
need for a default.
2013-05-06 15:42:33 +10:00
Michael Dowling
dd91c20488 No need to use JSON to convert XML to an array. get_object_vars() works too. 2013-05-04 17:38:07 -07:00
Michael Dowling
6e48b4db00 Cleaning up the MockPlugin 2013-05-01 17:13:13 -07:00
Michael Dowling
cb8439f1ca Removing unused event 2013-04-30 23:04:08 -07:00
Michael Dowling
5896a1475d Fixing typo in changelog v3.4.3 2013-04-30 13:31:38 -07:00
Michael Dowling
6e51109362 Preparing for 3.4.3 release 2013-04-30 13:30:19 -07:00
Michael Dowling
b7437a1475 Re-extracting the phar if the cacert file is deleted after a client is created 2013-04-30 13:21:28 -07:00
Michael Dowling
c2281ba97b Fixing redirect responses 2013-04-30 11:30:34 -07:00
Michael Dowling
bee77d3bfd Updating changelog v3.4.2 2013-04-29 16:55:30 -07:00
Michael Dowling
a010988134 Merge pull request #308 from jeremeamia/bugfix/date-formatting
Fixed two issues with the date formatting logic in SchemaFormatter
2013-04-29 13:33:24 -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
fb45f7c272 Fixing docblocks for MockPlugin 2013-04-26 11:35:06 -07:00
Michael Dowling
0ef81a94d2 Merge pull request #305 from bendavies/correct-branch-alias
correct the branch alias version
2013-04-26 10:27:30 -07:00
Ben Davies
f5ebaa4262 correct the branch alias version 2013-04-26 16:47:38 +01:00