Permalink
Switch branches/tags
Commits on Jun 9, 2015
  1. Merge pull request #6 from magplus/don't_require_accept-ranges_header

    Don't require the Accept-Ranges header
    committed Jun 9, 2015
  2. Don't require the Accept-Ranges header

    According to the below, if partial content is supported on a server,
    this header is not required.
    
    http://tools.ietf.org/html/rfc2616#section-14.5
    https://tools.ietf.org/html/rfc7233#section-2.3
    
    So in my interpretation, and according to the robustness principle, a
    client should not enforce the presence of the header.
    
    We have encountered problems because of this on Microsoft Azure and
    Cachefly, which both seem to support range requests, but not always set
    the Accept-Ranges header.
    kek committed Jun 9, 2015
Commits on Jan 4, 2014
Commits on Jul 10, 2013
Commits on Jul 4, 2013
  1. Updated the S3 section

    committed Jul 4, 2013
Commits on Oct 26, 2012
  1. Removed two calls to is_a? in favor of a single call to respond_to?

    Also reduced the number of calls to URI.parse
    committed Oct 26, 2012
  2. Merge pull request #5 from dvsekhvalnov/master

    Patch to use Pinch against Amazon S3
    committed Oct 26, 2012
  3. docs update

    DV committed Oct 26, 2012
  4. 0.3.2 patch to work with S3

    DV committed Oct 26, 2012
Commits on Jun 21, 2012
  1. Fixed the issue with the very slow basic auth specs.

    (2.84 seconds -> 0.05 seconds)
    committed Jun 21, 2012
Commits on Jun 20, 2012
  1. Merge pull request #4 from MrGossett/basic-auth

    Support for HTTP Basic Authentication
    committed Jun 20, 2012
  2. added support for HTTP Basic Authentication

    Added support for HTTP Basic Authentication using two new optional
    attributes: `user` and `pass`:
    
        Pinch.new('http://code.mrgossett.com/pinch_test.zip',
    'pinch_test','thisisjustatest')
    
    Also added a new method `#auth` that sets the username and password on
    a Pinch instance. `#auth` returns `self`, so it can be chained with
    other methods:
    
    Pinch.new('http://code.mrgossett.com/pinch_test.zip').auth('pinch_test',
    'thisisjustatest').get('data.json')
    
    Added two spec tests to make sure it works with valid authentication
    and doesn't work with invalid authentication. All RSpec tests are
    passing.
    Tim Gossett committed Jun 20, 2012
Commits on May 27, 2012
  1. Merge pull request #3 from TMaYaD/master

    implemented chunked read like a Net::HTTP to support large files
    committed May 27, 2012
Commits on May 25, 2012
  1. moved reading local file header to pinch responce

    Subhash Chandra committed May 25, 2012
Commits on May 16, 2012
Commits on Apr 15, 2012