Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#15: Add storage.batch.Batch #654

Merged
merged 9 commits into from
Feb 26, 2015
Merged

#15: Add storage.batch.Batch #654

merged 9 commits into from
Feb 26, 2015

Commits on Feb 25, 2015

  1. Add 'storage.batch.Batch'

    A batch proxies a connection, deferring write requests.
    tseaver committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    653fa14 View commit details
    Browse the repository at this point in the history
  2. Factor out 'storage.connection.Connection._do_request()'.

    In preparation for making 'storage.batch.Batch' derive from Connection,
    allowing it to override only the actual transmission of the HTTP request.
    tseaver committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    63ea7ba View commit details
    Browse the repository at this point in the history
  3. Make 'Batch' subclass 'Connection', and override '_do_request'.

    Drop patching the connection's 'http', as well as proxying its attributes
    (we get that via subclassing).
    tseaver committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    dd2046a View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2015

  1. Fix URL for batch requests.

    The batching interface is not specific to the storage API.
    tseaver committed Feb 26, 2015
    Configuration menu
    Copy the full SHA
    71c32a8 View commit details
    Browse the repository at this point in the history
  2. Fix URL for batch requests.

    The batching interface is not specific to the storage API.
    tseaver committed Feb 26, 2015
    Configuration menu
    Copy the full SHA
    b5a8124 View commit details
    Browse the repository at this point in the history
  3. Conform to httplib2.response.

    It does not case-normalize header key lookup, but stores headers only
    as lowercase.
    tseaver committed Feb 26, 2015
    Configuration menu
    Copy the full SHA
    96807c8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    edeb950 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c083ceb View commit details
    Browse the repository at this point in the history
  6. Unused import.

    tseaver committed Feb 26, 2015
    Configuration menu
    Copy the full SHA
    c828bda View commit details
    Browse the repository at this point in the history