Commits on Jan 25, 2012
  1. [Http] Using CURLOPT_INFILESIZE instead of Content-Length headers. Th…

    …is prevents chunked transfer encoding when the Content-Length is known. Adding better test coverage.
    mtdowling committed Jan 25, 2012
  2. [Http] Fixing issue that caused two Content-Length headers. Adding be…

    …tter test coverage for Content-Length and chunked Transfer-Encoding. Removing some duplicate tests.
    mtdowling committed Jan 25, 2012
Commits on Jan 24, 2012
  1. Removing @ error suppression from CurlHandle and instead checking if …

    …the handle is a resource before doing any curl related calls. Making the JsonDescriptionBuilder more readable.
    mtdowling committed Jan 24, 2012
  2. Coding standards

    mtdowling committed Jan 24, 2012
  3. Moving the onComplete handling of Guzzle\Http\Message\RequestInterfac…

    …e to the Symfony EventDispatcher. Subscribe to the request.error event to imlpement your custom error handling. Use $event->stopPropagation() to override the default error handling for unsuccessful responses. request.success is now called any time a request completes successfully.
    mtdowling committed Jan 23, 2012
Commits on Jan 22, 2012
Commits on Jan 20, 2012
  1. [Http] Passing any config settings in a client that start with "cache…

    …." to the params of a each request created by the client
    mtdowling committed Jan 20, 2012
  2. [Http] Adding check in CurlMulti to ensure that a request handle exis…

    …ts before operating on it. \ Adding fix so that when a revalidation response returns a 200 response and the response is cacheable, the cached data uses the maximum age of the new response (not the default ttl) \ Adding fix so that when a revalidation response contains updated caching headers, the cached response data is updated \ Added fix so that when a revalidation response is a 404, the cached data is deleted and the 404 exception is thrown \ Renaming the ``cache.revalidate`` options that can be set in the params of a request from "accept" => "never" and "decline" => "always"
    mtdowling committed Jan 20, 2012
Commits on Jan 18, 2012
  1. [Http] Adding better coverage to onComplete callbacks in requests. Al…

    …lowing a response to be overridden in an onComplete callback by returning a Response object in the callback.
    mtdowling committed Jan 18, 2012
Commits on Jan 15, 2012
  1. [Http] Adding a BatchQueuePlugin to make it easier to queue requests …

    …and flush the queue implicitly or explicitly
    mtdowling committed Jan 15, 2012
Commits on Jan 14, 2012
  1. Guzzle 2.0 Adopting composer for dependency management Updating LICEN…

    …SE, 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
    mtdowling committed Jan 14, 2012
Commits on Nov 11, 2011
  1. [Http] Making EntityBody create an empty temp stream by default if no…

    … resource is provided
    mtdowling committed Nov 11, 2011
Commits on Oct 28, 2011
Commits on Oct 1, 2011
  1. [Http] Seeking back to the beginning of a stream after computing the …

    …Content-MD5 of an entity body
    mtdowling committed Oct 1, 2011
Commits on Sep 12, 2011
  1. Merge pull request #5 from hasbridge/master

    Bugfix for errored and retried requests
    mtdowling committed Sep 12, 2011
Commits on Sep 7, 2011
Commits on Aug 31, 2011
Commits on Aug 29, 2011
Commits on Jul 7, 2011
Commits on May 9, 2011
  1. [Http] [Tests] Fixing a unit test that was not properly setting a moc…

    …k response. Adding a convenience argument to EntityEnclosingRequest::setBody() so that you can set the body and the Content-Type at the same time. Adding more code coverage to EntityEnclosingRequest to ensure that subsequent requests can be sent using the same request object.
    mtdowling committed May 9, 2011
Commits on Apr 21, 2011
  1. [Http] Adding a fix for parsing the Cache-Control directives of a mes…

    …sage that has multiple Cache-Control headers. Closes #2.
    mtdowling committed Apr 21, 2011
Commits on Apr 17, 2011
  1. [Service] Adding a ClientInterface so that it is possible to use othe…

    …r classes like OAuth or SoapClient with Guzzle by extending the class and implementing Guzzle\Service\ClientInterface. Removing public access modifiers from interfaces.
    mtdowling committed Apr 17, 2011
Commits on Apr 14, 2011
  1. [Http] [Tests] Removing deprecated assertType calls in tests. Moving …

    …Guzzle\Http\Server related code to Guzzle\Tests\Http as it is not used for anything but testing.
    mtdowling committed Apr 14, 2011
Commits on Apr 11, 2011
  1. [Http] Ensuring that cloned requests will attach observers to the clo…

    …ned request using the same priority as the original request for each event observer.
    mtdowling committed Apr 11, 2011
Commits on Apr 9, 2011
  1. [Http] Emitting the request.before_send event from Guzzle\Http\Pool\P…

    …ool when requests are being sent in a pool. This helps to ensure that plugins behave the same when they are dealing with single requests, request pools, commands, or command sets. This change resolves guzzle-aws issue:
    mtdowling committed Apr 9, 2011
Commits on Apr 8, 2011
  1. [Http] Making the calculation of an entity body MD5 hash default to t…

    …rue when using the Md5ValidatorPlugin. Fixing typo in docblock.
    mtdowling committed Apr 8, 2011
  2. [Http] Making sure that the fseek operation succeeded on the stream b…

    …efore calculating the MD5 hash
    mtdowling committed Apr 8, 2011
  3. [Http] Using streaming hash functions to calculate the Content-MD5 ha…

    …sh of an EntityBody. This is safer because it does not require that the entire contents of a stream be loaded into memory to calculate the MD5 hash.
    mtdowling committed Apr 8, 2011