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

1020 Commits

Author SHA1 Message Date
Michael Dowling
0a764fff33 Renaming cacert.md5 to cacert.pem.md5 2013-04-03 15:34:28 -07:00
Michael Dowling
b99fe0cac8 Adding an MD5 check to the cacert.pem file when using the phar 2013-04-03 15:25:16 -07:00
Michael Dowling
176d928fe4 Renaming additionalProperties to additionalParameters 2013-04-03 13:23:46 -07:00
Michael Dowling
31ccefd2f2 Adding support for additionalProperties for parameters in service descriptions. Addresses #270 2013-04-03 13:23:46 -07:00
Michael Dowling
7437ebe303 Merge branch 'caching_entity_body' 2013-04-03 10:24:54 -07:00
Michael Dowling
cfd7f672e8 Improving the CachingEntityBody
Fixing the stream size of a caching entity body to allow the size to be
the greater of the buffer or remote stream.
Fixing __toString() to properly combine the buffer and remote stream
Skipping bytes written over the remote stream to emulate how other r/w
PHP streams work (you overwrite bytes, you don't insert bytes and push
out things after it).
Using fstat() for local streams rather than loading streams into memory
and getting the strlen() (previously used for temp streams).
2013-04-03 10:24:33 -07:00
Michael Dowling
1e0a4c1b3e Adding tests and fixes to the CachingEntityBody decorator 2013-04-02 12:35:09 -07:00
Michael Dowling
c94eaa8f0c Adding a caching entity body decorator and cleaning up other entity body decorators 2013-04-01 18:22:26 -07:00
Michael Dowling
8ccd3ba7f0 Merge pull request #282 from DarkSide666/master
typo
2013-04-01 15:44:55 -07:00
Imants Horsts
c4c5c9dee2 typo 2013-04-02 01:41:59 +03:00
Michael Dowling
9dc8897140 Using copied cacert when using phar 2013-04-01 10:07:11 -07:00
Michael Dowling
393a110ec0 Updating to curl's latest cacert file 2013-03-31 23:48:14 -07:00
Michael Dowling
a59e5a1695 Adding cacert file to phar and more cert validation
Addresses #280.
2013-03-31 23:35:10 -07:00
Michael Dowling
e1a9a2cee0 Adding pem to PEAR package. Addresses #280. 2013-03-31 21:18:30 -07:00
Michael Dowling
ab8d35fbdf Adding the ability to PURGE requests from the cache. Addresses #241. 2013-03-30 19:18:40 -07:00
Michael Dowling
9da0ac2123 You can now send any EntityEnclosingRequest with POST fields or POST
files and cURL will handle creating bodies
* Lots of cleanup to CurlHandle::factory and RequestFactory::createRequest
* POST requests using a custom entity body are now treated exactly like PUT
requests but with a custom cURL method. This means that the redirect
behavior of POST requests with custom bodies will not be the same as POST
requests that use POST fields or files (the latter is only used when
emulating a form POST in the browser).
* Closes #266
2013-03-28 23:48:55 -07:00
Michael Dowling
4f818c90b2 Adding the ability to create a custom stream class from a stream factory 2013-03-28 12:13:56 -07:00
Michael Dowling
6892729466 Merge pull request #276 from fubhy/master
Fix missing 'callback' parameter documentation in constructor docblock.
2013-03-28 11:30:16 -07:00
Sebastian Siemssen
39eff18acb Adding callback parameter to constructor docblock. 2013-03-28 19:21:11 +01:00
Michael Dowling
20c3cbdf1d Merge pull request #275 from fubhy/master
Add support for 'oauth_callback' parameter.
2013-03-28 11:01:39 -07:00
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