~jaypipes/glance/api-version

Viewing all changes in revision 134.

  • Committer: jaypipes at gmail
  • Date: 2011-05-11 23:03:51 UTC
  • Revision ID: jaypipes@gmail.com-20110511230351-z1v2owfjm80kutq3
Changes versioned URIs to be /v1/ instead of /v1.0/

Adds middleware that detects versioned URIs and also
detects media types in the Accept: header and attempts
to determine the API controller to return for the
client request.

Adds a bunch of functional test cases for variations
of calling the versioned and unversioned URIs with and
without Accept: headers.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: