~juju/pyjuju/txaws-vendor

Viewing all changes in revision 86.

  • Committer: Free Ekanayaka
  • Date: 2011-05-14 07:33:27 UTC
  • mfrom: (85.1.9 use-port-in-signature)
  • Revision ID: free.ekanayaka@canonical.com-20110514073327-hevnx63lf6iat254
Merge use-port-in-signature [f=781540] [r=therve]

This branch introduces the following changes:

- There's now a txaws.ec2.client.Signature class that can be used
  to compute a signature, without requiring a Query instance. The
  Query class has been modified to make use of it.

- The txaws.service.AWSServiceEndpoint has been modified to not
  try to be smart when parsing the uri parameter in the constructor,
  i.e. if the uri doesn't contain a port, it will be set to None.

- The defaultPort parameter of txaws.util.parse now is a boolean
  flag to indicate whether to a provide default port in case the
  given uri doesn't include one.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: