Requests clean up #107

Merged
merged 6 commits into from Mar 5, 2014
Commits on Feb 27, 2014
  1. @ianbarber

    Add separate upload GZIP flag

    ianbarber committed Feb 27, 2014
    Make config GZIP possible to enable separately to the main gzip.
    It still defaults to false, but at least in situations like #91 where
    it is showing benefit it can be easily enabled.
    
    In order to maintain the defaults though, the config names have become
    slightly confusing (one disable, one enable). I've added some constants
    to try and work around that, but I may be just setting us up for future
    problems!
  2. @ianbarber

    First pass at stream tidy ups

    ianbarber committed Feb 27, 2014
    Adding options for request timeout
    Adding a null cache class
    Tests still required
Commits on Mar 2, 2014
  1. @ianbarber
  2. @ianbarber

    Adding stream timeout

    ianbarber committed Mar 2, 2014
    Added connect timeout to cURL method as well.
  3. @ianbarber

    Fix tests

    ianbarber committed Mar 2, 2014
    cURL tests weren't actually testing cURL - now are. Fixed a bug that
    had been missed because of that. Added null cache test.
  4. @ianbarber

    Fix codestyle issue

    ianbarber committed Mar 2, 2014