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
Michael Dowling
e4d27001cd
Speeding up CompositeFactory::getDefaultChain()
2013-02-22 23:16:43 -08:00
Michael Dowling
ca642f0780
Reading more data at a time when building stream hashes
2013-02-22 23:15:48 -08:00
Michael Dowling
31a1a522fa
Setting a service description no longer messes with command factories
...
Adding some missing inheritdoc docblocks
2013-02-22 22:19:07 -08:00
Michael Dowling
ff6738a028
Refactoring setUserAgent and Removing Guzzle\Http\Utils
...
Guzzle\Http\Client::setUserAgent() now simply accepts a string as input
2013-02-22 22:07:19 -08:00
Michael Dowling
bd9f6adcf0
Iterating over array instead of ArrayIterator in CurlHandle::factory
2013-02-22 16:23:19 -08:00
Michael Dowling
35ea478945
Performance optimization to header object
2013-02-22 01:28:05 -08:00
Michael Dowling
475d972afa
Optimizing cURL multi transactions
2013-02-21 21:05:03 -08:00
Michael Dowling
ceccf5b604
Another tweak to service builder service creations
2013-02-21 17:48:58 -08:00
Michael Dowling
3f8568c76b
Removing unnecessary CURLOPT_USERAGENT settings
2013-02-21 16:38:58 -08:00
Michael Dowling
20c6a5b180
Minor tweaks to building services
2013-02-21 16:38:43 -08:00
Michael Dowling
cb0ab036f5
Adding wb as a valid write mode for streams
...
Closes #242
2013-02-20 11:08:31 -08:00
Michael Dowling
907585d1fa
Using doctrine/cache instead of doctrine/common
2013-02-19 14:40:15 -08:00
Michael Dowling
5d8a6c8952
Merge pull request #240 from adrianmacneil/patch-239
...
Allow calling setAuth() with a blank password. Closes #239
2013-02-16 13:14:35 -08:00
Adrian Macneil
47f4942f39
Allow calling setAuth() with a blank password. Closes #239
...
This supports APIs such as Stripe which only require a username to authenticate.
2013-02-16 10:38:38 +07:00
Michael Dowling
f367b6cca2
Updating branch alias for dev-master
2013-02-14 18:10:51 -08:00
Michael Dowling
3a3fa1c5af
Updating changelog date
v3.2.0
2013-02-14 17:33:10 -08:00
Michael Dowling
69ad0affa2
The encoding scheme used by Guzzle\Http\QueryString can now be
...
customized
Guzzle\Http\QueryString no longer accepts a callback function for
aggregation but rather uses QueryAggregatorInterface objects.
Addresses #238 .
2013-02-13 23:28:44 -08:00
Michael Dowling
549cabddbe
Updating changelog
2013-02-13 18:37:29 -08:00
Michael Dowling
206d02eadc
Merge pull request #237 from athieriot/fix-double-maxage
...
Make a choice when max-age is present twice
2013-02-13 11:15:13 -08:00
Aurélien Thieriot
500b63986c
Make a choice when max-age is present twice
2013-02-13 10:04:45 +00:00