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

934 Commits

Author SHA1 Message Date
Michael Dowling
f2fd4bd43b Better normalization of User-Agent header when creating requests. Closes #264 2013-03-11 15:42:27 -07:00
Michael Dowling
f62d862501 Updating variable to use strict-camel casing like the rest of Guzzle 2013-03-11 15:09:57 -07:00
Nils Luxton
a29ab1eb32 Single PHP-style array values now parse into array. 2013-03-11 14:20:20 +00:00
Michael Dowling
0657f36c77 Tagging 3.3.1 v3.3.1 2013-03-10 16:05:38 -07:00
Michael Dowling
9c395855b4 Fixing unit tests 2013-03-09 20:14:16 -08:00
Michael Dowling
5075b8271b Allow the passing of a pre-created context. Cleaning up interfaces. Adding tests. 2013-03-09 20:14:16 -08:00
Michael Dowling
ef8aab57ee Adding note that only streaming downloads is supported 2013-03-09 20:14:16 -08:00
Michael Dowling
445d54e3c8 Suggest guzzle/http instead of require 2013-03-09 20:14:16 -08:00
Michael Dowling
b6c747223c Converting curl proxy settings to PHP streams proxy settings. 2013-03-09 20:14:16 -08:00
Michael Dowling
d62955d41d Fixing AbstractEntityBodyDecorator 2013-03-09 20:14:16 -08:00
Michael Dowling
38cd929fc8 Adding close() method to stream objects 2013-03-09 20:14:16 -08:00
Michael Dowling
d9c2824046 Adding feof() as an alias of isConsumed() 2013-03-09 20:14:16 -08:00
Michael Dowling
23977ff6e5 Stream factory now returns a stream object. Can now set custom data on stream objects. Added readLine() method to stream objects 2013-03-09 20:14:16 -08:00
Michael Dowling
47e7adee4b Dispatching request.before_send before sending a request with the stream factory 2013-03-09 20:14:16 -08:00
Michael Dowling
f29d2a4021 Adding the ability to specify stream context parameters 2013-03-09 20:14:15 -08:00
Michael Dowling
af371ef403 Keeping track of the last received response headers 2013-03-09 20:14:15 -08:00
Michael Dowling
c8d7183187 Adding a way to create PHP streams based on request objects 2013-03-09 20:14:15 -08:00
Michael Dowling
c3f2859701 Merge pull request #262 from simensen/composer-branch-alias
Subtree splits need to have the correct branch alias.
2013-03-07 14:30:20 -08:00
Beau Simensen
8265874d25 Subtree splits need to have the correct branch alias. 2013-03-07 16:13:59 -06:00
Michael Dowling
e6cae6ecd1 Merge pull request #261 from lapause/master
Keys of file parameters
2013-03-07 10:48:59 -08:00
lapause
04c29a19db Updated RequestFactory::create() to take into account keys of file parameters 2013-03-07 17:27:21 +01:00
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