Permalink
Commits on Jul 24, 2012
Commits on Jul 23, 2012
  1. [Service] Allowing dot notation for class paths in filters attribute …

    mtdowling committed Jul 23, 2012
    …of service descriptions
  2. Adding Guzzle\\Tests back to composer.json to make it easier to test …

    mtdowling committed Jul 23, 2012
    …third part code without needing to modify your bootstrap file
Commits on Jul 22, 2012
  1. Another content-type fix

    mtdowling committed Jul 22, 2012
  2. Updating tests so that they work with the broken behavior of returnin…

    mtdowling committed Jul 22, 2012
    …g text/x-c++ for the content-type of .php scripts
Commits on Jul 21, 2012
  1. [Service] Not creating a new Collection object each time getRequestHe…

    mtdowling committed Jul 21, 2012
    …aders() is called on an AbstractCommand
Commits on Jul 19, 2012
  1. Treat '+' as encoded space when parsing query string

    BRMatt committed Jul 19, 2012
    According to RFC1738 (implemented by urlencode) spaces are encoded as
    plus symbols. However, RFC3986 (imeplemented by rawurlencode) states
    that spaces should be encoded as '%20'.
    
    When parsing a query string that was encoded with urlencode we should
    treat plus symbols as spaces.
    
    fixes #105
Commits on Jul 16, 2012
  1. [Http] Fixing POST redirects so that they are followed with a GET (us…

    mtdowling committed Jul 16, 2012
    …e the undocumented CURLOPT_POSTREDIR option to change this behavior). Closes #23
Commits on Jul 15, 2012
  1. Ignoring .subsplit

    mtdowling committed Jul 15, 2012
  2. Minor cleanup

    mtdowling committed Jul 15, 2012
Commits on Jul 13, 2012
  1. Allow configuration to be specified on a service descriptor

    benmatselby committed Jul 11, 2012
    An example of this would be:
    <param name="curl.CURLOPT_CONNECTTIMEOUT" default="100" />
    
    This would override the configuration set by the instantiation:
    
    new Client(
        'http://www.example.com',
        array('curl.CURLOPT_CONNECTTIMEOUT' => 100)
    );
Commits on Jul 12, 2012
  1. [Parser] Values set to null are treated as undefined. Minor short cir…

    mtdowling committed Jul 12, 2012
    …cuit if improvement to Guzzle\Http\Url
Commits on Jul 11, 2012
  1. [Service] Adding the ability to specify curl options in commands usin…

    mtdowling committed Jul 11, 2012
    …g an array called curl.options. Closes #100
Commits on Jul 9, 2012
  1. [Http] Cleaning up CurlHandle, EntityEnclosingRequestInterface, and A…

    mtdowling committed Jul 9, 2012
    …bstractMessage
    
    The responsibility of setting a Content-Length of 0 for an empty EntityEnclosingRequest is now handled in the setState method of an EntityEnclosingRequest
    Removing the action argument from Guzzle\Http\Message\AbstractMessage::changedHeader()
    Passing an array of Cache-Control data in the Cache-Control header instead of the unnecessary implode
    Removing process as an argument for Guzzle\Http\Message\EntityEnclosingRequest::addPostField
    Enforcing the decision of whether or not to URL encode POST data in the CurlHandle class
    Closes #95
  2. [Http] Refactoring QueryString

    mtdowling committed Jul 8, 2012
    - Adds a trailing equal sign for empty values by default (e.g. ?acl=)
    - Set blank values (e.g. ?acl) by setting the value to QueryString::BLANK
    - Combined URL encoding into a single option rather than separate
      settings for fields and values
    - Changed isEncodingValues() and isEncodingFields() to isUrlEncoding()
    - Changed setEncodeValues(bool) and setEncodeFields(bool) to useUrlEncoding(bool)
    - Changed the aggregation functions of QueryString to be static methods
    - Can now use fromString() with querystrings that have a leading ?
Commits on Jul 8, 2012
  1. Fix for a situation where a "blank" (e.g. null, false) value for a qu…

    weaverryan committed Jul 8, 2012
    …ery string parameter resulted in a missing "=":
    
    Suppose that we set the following data on a QueryString object:
    
    array(
        'foo' => null,
        'bar' => 'test',
    )
    
    The query string before and after this change would be:
    
    BEFORE: ?foo&bar=test
    AFTER:  ?foo=&bar=test
    
    The importance is that before the lack of "=" resulted made it look like there was only a single parameter called "foo&bar" with a value of "test" (i.e. the bar parameter is joined with foo).
Commits on Jul 6, 2012
  1. Merge pull request #94 from gimler/patch-2

    mtdowling committed Jul 6, 2012
    Fix composer