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

1100 Commits

Author SHA1 Message Date
Sebastian Siemssen
8b86d6777e Adding support for oauth_callback parameter. 2013-03-28 11:42:28 +01:00
Michael Dowling
e4ced531e8 Merge pull request #274 from jeremeamia/master
Updating the interface docblock for the previous ServiceBuilder change
2013-03-27 15:49:53 -07:00
Jeremy Lindblom
8ef747f88e Updating the docblock of the ServiceBuilderInterface::get method to allow for arrays 2013-03-27 15:43:37 -07:00
Michael Dowling
95592cafa9 Merge pull request #273 from jeremeamia/master
Overwrite config params for throw-away clients in the service builder
2013-03-27 13:00:41 -07:00
Jeremy Lindblom
be121121c0 Adding ability to overwrite config params for throw-away clients in the service builder 2013-03-27 12:49:14 -07:00
Michael Dowling
6d0908cc56 Merge pull request #272 from bradfeehan/improve-require-message
Improve "[PARAM] is a required [TYPE]" message
2013-03-25 13:11:22 -07:00
Brad Feehan
dedaa4c428 Improve "[PARAM] is a required [TYPE]" message
This happens when Guzzle is trying to create an error message of the
form "ID is a required integer", but the type is an array (union) of
types rather than a single type in a string.

In PHP 5.4, this causes a notice "array to string conversion", and in
all versions of PHP, the message Guzzle generated reads "ID is a
required Array" (where "Array" is the result of the array-to-string
conversion, almost always not what you want).
2013-03-25 15:23:23 +11:00
Michael Dowling
f582f74f07 Merge pull request #271 from hobodave/psr-log
Adds PSR-3 Log adapter
2013-03-20 17:13:21 -07:00
David Abdemoulaie
b10a01833e Adds PSR-3 Log adapter 2013-03-20 11:53:25 -05:00
Michael Dowling
20f4ff3816 Merge pull request #269 from arlaneenalra/master
Potential fix for issue 267
2013-03-19 11:28:11 -07:00
Chris S
a703f1ab08 Add fallback to Date if Last-Modified is not present. 2013-03-19 08:35:11 -05:00
Chris S
5bbd6fb45d Fix Date vs. Last-Modified header issue in DefaultRevalidation.php. 2013-03-18 11:07:54 -05:00
Michael Dowling
fab9eb4859 Cleaning up OauthPlugin 2013-03-17 13:22:36 -07:00
Gonzalo Ayuso
cd81153711 removed empty parameters form query string in OauthPlugin 2013-03-17 17:37:49 +01:00
Michael Dowling
feaae5dc97 Adding number types to service description schemas. Closes #265. 2013-03-15 13:26:03 -07:00
Michael Dowling
3e9b26d95d Adding a command.after_prepare event 2013-03-14 15:31:39 -07:00
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