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

55 Commits

Author SHA1 Message Date
Gajus Kuizinas
30ac0ba914 getStatusCode returns string, not integer. 2014-08-26 19:53:06 +03:00
David Prévot
9642625641 Documentation and comments: typo fix 2014-05-04 17:14:28 -04:00
Michael Dowling
4063f08ca4 Guzzle 4.0! 2014-03-29 16:11:36 -07:00
Michael Dowling
c3d6bcb0a7 Updating README 2014-03-25 11:57:36 -07:00
Michael Dowling
b738bbe6f6 statusCode() -> getStatusCode() 2014-03-18 10:27:47 -07:00
Michael Dowling
390ebb70a2 Fixing README 2014-03-15 16:49:17 -07:00
Michael Dowling
58ae6b51e0 Updating readme 2014-03-15 16:46:57 -07:00
Michael Dowling
3609166654 Updating README 2014-03-02 10:45:13 -08:00
Michael Dowling
89a8e2ede1 Using PSR-4 and moving namespace from Guzzle to GuzzleHttp
- Moving various namespaces up a level
- Updating docs
- Renaming EventSubscriberInterface to SubscriberInterface
2014-02-16 20:42:45 -08:00
Konrad Podgórski
ef0fadfd09 Fixed typo in request options description for auth 2013-09-07 21:31:15 +02:00
Ben Longden
2c5e41ad47 Update README.md 2013-06-30 11:21:03 +01:00
Ben Longden
e3b87f7707 Update README.md
Add information about running tests with xdebug enabled.
2013-06-30 11:14:39 +01:00
Michael Dowling
04d554f6d4 Updating example installation version 2013-06-10 23:36:02 -07:00
Michael Dowling
47ce58d530 Badges! 2013-06-10 13:47:53 -07:00
Michael Dowling
7141fd8f5c Hiding the CURLAUTH_* constants from the Request options API and instead using Basic and Digest auth types 2013-06-07 21:29:56 -07:00
Michael Dowling
dca26ad31c Adding connect_timeout and removing curl from request options 2013-06-07 18:43:57 -07:00
Jeremy Lindblom
86f38b11c2 Updated Composer installation code to match Composer website 2013-06-04 00:29:54 -06:00
Michael Dowling
073c127c1a Fixing typo 2013-06-03 23:20:26 -07:00
Michael Dowling
968046d46b Fixing README typo 2013-06-03 23:17:33 -07:00
Michael Dowling
246153fb1b More README tweaks 2013-06-03 23:16:12 -07:00
Michael Dowling
3baa1c07f3 More README tweaks 2013-06-03 23:15:04 -07:00
Michael Dowling
b1fd664d03 Updating README 2013-06-03 23:12:35 -07:00
Benji
55f2c327bd Update README.md
Fixes the URL template example which showed using double curly braces rather than single. Using this format causes parsing errors when Guzzle runs.
2013-04-20 10:09:08 -07:00
Imants Horsts
c4c5c9dee2 typo 2013-04-02 01:41:59 +03:00
angelk
1b35dffcb2 README add mssing "." 2013-02-08 15:34:36 +02:00
Francesc Rosàs
1290a5dc94 Projects should depend on the last minor version 2013-01-24 15:04:47 +01:00
Michael Dowling
7ca4b67b40 Merge pull request #159 from pborreli/typos
Fixed typos
2012-11-03 16:17:52 -07:00
Pascal Borreli
1383034e29 Fixed typo 2012-11-03 12:33:36 +00:00
Pascal Borreli
c309f229ff Fixed typos 2012-11-03 00:09:36 +00:00
Michael Dowling
8cffe26006 Adding information about unit testing to the readme 2012-10-31 22:47:44 -07:00
Michael Dowling
8eb77e1996 Removing readme section on unit testing 2012-10-15 18:12:36 -07:00
Michael Dowling
93e2405749 Tagging 2.8.6 2012-09-05 16:30:30 -07:00
Michael Dowling
0c086f67a0 Fixing ResourceIteratorFactoryInterface.php to use an empty array. Fixing Travis build status image. 2012-09-05 00:43:02 -07:00
Michael Dowling
95bd5309ad Updating version for UA string. Fixing test that was not mocked correctly. Updating build process. 2012-06-26 18:58:44 -07:00
Michael Dowling
5a7d43693f Adding more installation instructions to the README 2012-06-26 17:32:25 -07:00
Michael Dowling
688631a8c3 Updating readme 2012-06-17 18:01:14 -07:00
Michael Dowling
c0dc85de35 Breaking / Potentially breaking changes:
1. Adopting a marker interface for Guzzle exceptions.
        A. All exceptions emitted from Guzzle are now wrapped with a Guzzle namespaced exception.
        B. Guzzle\Common\GuzzleExceptionInterface was renamed to Guzzle\Common\GuzzleException
        C. Guzzle\Common\ExceptionCollection was renamed to Guzzle\Common\Exception\ExceptionCollection
    2. Using Header objects for Request and Response objects
        A. When you call $request->getHeader('X'), you will get back a Guzzle\Http\Message\Header object that contains all of the headers that case insensitively match.  This object can be cast to a string or iterated like an array.  You can pass true in the second argument to retrieve the header as a string.
        B. Removing the old Guzzle\Common\Collection based searching arguments from most of the request and response header methods.  All retrievals are case-insensitive and return Header objects.
    3. Changing the two headers added by the cache plugin to just one header with key and ttl.
    4. Changing Guzzle\Http\Message\Response::factory() to fromMessage().
    5. Removing the NullObject return value from ServiceDescriptions and instead simply returning null

New Features / enhancements:

    1. Adding Guzzle\Http\Message\AbstractMessage::addHeaders()
    2. Making it simpler to create service descriptions using a unified factory method that delegates to other factories.
    3. Better handling of ports and hosts in Guzzle\Http\Url

Note: This is a noisy diff because I'm removing trailing whitespace and adding a new line at the end of each source file.
2012-04-22 00:17:49 -07:00
Michael Dowling
f57169a2d6 Updating to the latest version of composer so that Guzzle uses require-dev and --dev configuration options 2012-04-16 15:13:53 -07:00
Michael Dowling
02f9785f93 [Service] Adding an AliasFactory for aliasing one command name to another. Updating README for new composer setup. Making the build script more generalized. 2012-04-15 12:00:12 -07:00
Michael Dowling
5fd1ae9a82 Updating readme to mention PATCH requests 2012-03-20 11:27:40 -05:00
Michael Dowling
b9c04909c7 Adding support for URI templates
[Http] UriTemplate syntax supports {} or {{}} for backwards compatibility.
[Http] Guzzle::inject() now allows {} or {{}} injection for consistency.
[Http] BC: removing Guzzle\Http\Client::inject and now using Guzzle\Http\Client::expandTemplate.
[Http] Can use a custom syntax for URI templates (this might be useful for something like Solr because Solr actually uses {}).
[Http] Adding the ability to inject a custom UriTemplate into clients or just use the default UriTemplate
[Http] You can now use an array when creating a request via a client to specify a URI template and additional template variables.
[Service] Adding support for URI templates to service descriptions.
[Service] [BC] removing Guzzle\Service\Description\ApiCommand::getPath() and replacing it with getUri().
[Service] Use "uri" instead of "path" when creating service descriptions.  However, there is still backwards compatibility with the "path" attribute.
2012-02-07 23:23:39 -06:00
Michael Dowling
59fd695b4f Using automated links instead of github downloads for phar files 2012-01-23 09:30:01 -06:00
Michael Dowling
466c28e224 Fixing link to phar in readme 2012-01-21 17:31:21 -06:00
Michael Dowling
ab4b848dc0 Adding IRC info 2012-01-16 14:12:22 -06:00
Michael Dowling
4c46e77015 Guzzle 2.0
Adopting composer for dependency management
Updating LICENSE, travis build file, making better use of git ignores, and remove unused build target
Removing @author tags.  Use the commit history for a changelog.
Moving files from build folder to /
Adding min build target to product a Guzzle only phar with no autoloader
[Common] Accepting ZF1 or ZF2 cache in ZendCacheAdapter
[Common] Optimizing Stream wrapper and EntityBody abstractions.
[Common] [Http] Migrating from Guzzle event system to the Symfony2 event dispatcher
[Common] Moved Inflector and Inspector to Service namespace
[Http] Simplifying Guzzle\Guzzle curl detection
[Http] Removing Guzzle\Http\Pool and now using Guzzle\Http\Curl\CurlMulti
[Http] The helper methods from Guzzle\Http\Message\RequestFactory have been removed to prevent confusion and encourage developers to use Guzzle\Http\Client to create requests.
[Http] Clients can now send one or more requests in an array using the send() method, so the batch() method was removed.
[Http] Updating curl multi to allow blocking calls while sending other transfers
[Http] Making the Request::hasHeader method more intuitive.  Guzzle\Http\Message\AbstractMessage::hasHeader() now returns true if the header is found using exact matching.  If the header is found using a regex or case-insensitive match, then it will return the name of the found header.
[Http] Removing content-type guessing from EntityBody based on file extension and solely using finfo.
[Http] Adding basic auth plugin
[Http] Cleaning up CookieJar and CurlMulti
[Http] Removing custom rawurlencode from QueryString because PHP 5.3 now properly deals with tilde characters.
[Http] Minor optimization to parsing messages in RequestFactory
[Http] Adding Guzzle\Http\Client for developers that don't need commands or service descriptions
[Http] Making it easier to set a global User-Agent header for a Guzzle\Http\Client
[Http] Fixing the discrepancies between the ClientInterface and Guzzle\Http\Client
[Http] Adding the ability to set and retrieve tokenized headers from Requests and Responses
[Service] Ditching NIH filters and using the Symfony2 validator
[Service] Moving most service building logic to the ServiceBuilder::factory method so that it is easier to build custom config readers.
[Service] Allowing deep nested command inheritance.
[Service] Cleaning up Inflector caching.
[Service] Getting rid of concept of can_batch because everything is now sent in parallel.
[Service] Adding a JSON description builder.
[Service] Cleaning up ResourceIteratorApplyBatched.
[Service] Removing caching stuff from ServiceBuilder because the data being cached is extremely fast to generate.
[Service] Added a method to serialize the ServiceDescription in case a ServiceDescription needs to be cached in an application.
[Service] Making description builders use static methods.
[Service] Adding support to include other description files for XML and JSON description builders.
[Service] Adding support for filters to ApiCommands
[Service] Using {{}} instead of $. to reference other services as a dependency for another service
2012-01-14 13:57:05 -06:00
Michael Dowling
f4dabcfc58 Updating README 2011-11-13 19:29:05 -06:00
Michael Dowling
ca629f8593 Adding link to phar 2011-11-13 18:46:17 -06:00
Michael Dowling
a5bf022a31 Adding travis-ci build status image 2011-11-13 13:34:08 -06:00
Michael Dowling
b5f0507a0c [Tests] Adding .travis.yml
Removing logging from node server
Fixing history plugin test
Fixing bzip2 test
Fixing timestamp test
2011-11-13 13:30:34 -06:00
Michael Dowling
d390a5f2e3 [Service] Making it easier to send requests in parallel using the batch() command of a client. Updating tests to use MockPlugin 2011-11-12 21:19:22 -06:00