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

913 Commits

Author SHA1 Message Date
Michael Dowling
11801ca88b Fixing docblock for setAuth(). Closes #256 2013-03-06 23:47:07 -08:00
Michael Dowling
624ead32fb Preventing infinite recursion when resolving includes. Closes #255 2013-03-06 23:39:08 -08:00
Michael Dowling
b87424dca9 Adding missing @throws tag 2013-03-06 23:12:45 -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
Michael Dowling
e575c6b2d3 Merge pull request #260 from jhedstrom/master
Deeply nested parameters aren't properly sorted when signing for OAuth
2013-03-06 09:49:15 -08:00
Jonathan Hedstrom
bc183dccd4 Sorting all parameters prior to OAuth signing. 2013-03-06 08:45:51 -08:00
Michael Dowling
0e5c963daa CS fixes 2013-03-05 18:12:43 -08:00
Jonathan Hedstrom
8711d3f829 Adding a test for multi-dimensional arrays. 2013-03-05 17:11:05 -08:00
Jonathan Hedstrom
4c7220e06e Converting booleans to strings for OAuth parameter signing. 2013-03-05 17:05:06 -08:00
Jonathan Hedstrom
979bc3e468 Allow for multidimensional arrays to be properly signed for OAuth. 2013-03-05 16:14:09 -08:00
Michael Dowling
62f3458277 Adding missing param filtering when visiting response headers 2013-03-03 22:35:49 -08:00
Michael Dowling
5dd4a2a73a Using defined() rather than version_compare for CURLOPT_PROTOCOLS 2013-03-03 17:25:08 -08:00
Michael Dowling
794aef1bee Setting 3.3 as the dev-master branch alias 2013-03-03 17:15:39 -08:00
Michael Dowling
b840a3c15f Fixing some composer deps 2013-03-03 17:13:38 -08:00
Michael Dowling
d8f28e9f48 Prepping for 3.3.0 v3.3.0 2013-03-03 16:41:45 -08:00
Michael Dowling
d9ffba0370 Updating CHANGELOG 2013-03-03 15:01:42 -08:00
Michael Dowling
044b337b5e Removing BC introduced in ff6738a02868deb0cd402ee2dcd9b5ddaa016564 2013-03-03 13:40:51 -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
Michael Dowling
f70b14f928 Allowing nested renaming of JSON responses 2013-03-02 21:27:32 -08:00
Michael Dowling
9e2b87b915 Actually need to walk all first, trigger each visitors before method, then visit each property in a separate loop 2013-03-02 21:12:50 -08:00
Michael Dowling
804f7abd82 Fixing stream docblock 2013-03-02 19:07:02 -08:00
Michael Dowling
7f37d004b9 Only need to walk model properties once when parsing 2013-03-01 15:30:27 -08:00
Michael Dowling
8d68969a8b Merge pull request #251 from thewilkybarkid/stale-if-error
Add stale-if-error directive support
2013-02-28 22:25:58 -08:00
thewilkybarkid
e884f5a48d Handle stale-if-error directive 2013-02-28 14:15:02 +00:00
Michael Dowling
e2ea1214a9 Not stripping quotes from getEtag(). This prevents errors when getting Etags that contain things like W/"xyzzy" 2013-02-27 13:44:11 -08:00
Michael Dowling
eec3d0dc44 Merge pull request #250 from thewilkybarkid/stale-cache
Store cached responses for longer, allowing stales to be served
2013-02-27 10:47:22 -08: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
Michael Dowling
28ae2d7240 Merge pull request #246 from thewilkybarkid/is_fresh
Response is only stale if the age is greater than the max-age
2013-02-26 10:26:53 -08:00
thewilkybarkid
7d25f3f9cd Reuse existing variable 2013-02-26 08:18:59 +00: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
9ed3dcc413 Tuning request JsonVisitor 2013-02-23 19:42:51 -08:00
Michael Dowling
8dd378d2c3 Shortening if statement and not using a clone of the query string when combining URLs 2013-02-23 19:11:20 -08:00
Michael Dowling
cb8e0c7ea6 Optimizing if statement when creating client requests 2013-02-23 18:53:23 -08:00
Michael Dowling
9621c17941 Fixing mistake made in d697838875c9acb439773e6394015db956ca3f51 2013-02-23 18:48:59 -08:00
Michael Dowling
b2b91adaa6 Cleaning up RequestFactory::create() 2013-02-23 17:42:25 -08:00
Michael Dowling
d697838875 Using replace rather than merge when parsing curl option settings 2013-02-23 17:33:43 -08:00
Michael Dowling
66d7d581da Optimizing Url constructor 2013-02-23 15:41:55 -08:00
Michael Dowling
0234efc6e1 Not converting stream wrapper and type to lowercase 2013-02-23 15:35:22 -08:00
Michael Dowling
47781a95b8 Only doing fwrite and rewind in stream factory when data is present 2013-02-23 15:28:01 -08:00
Michael Dowling
ea2a6afbce Lazy load operation parameters 2013-02-23 14:21:12 -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