diff options
| author | Ed Leafe <ed@leafe.com> | 2011-07-01 13:44:12 +0000 |
|---|---|---|
| committer | Ed Leafe <ed@leafe.com> | 2011-07-01 13:44:12 +0000 |
| commit | 7ca20797496947c0bdd60e77b4962fd360e01f55 (patch) | |
| tree | 58579b2d465e52faf6d8f9aa450fb0d9edb55c03 /nova/api | |
| parent | b602ecb52130f9585a5c49217d259a4e3d24fda8 (diff) | |
| download | nova-7ca20797496947c0bdd60e77b4962fd360e01f55.tar.gz nova-7ca20797496947c0bdd60e77b4962fd360e01f55.tar.xz nova-7ca20797496947c0bdd60e77b4962fd360e01f55.zip | |
after trunk merge
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/auth.py | 1 | ||||
| -rw-r--r-- | nova/api/openstack/wsgi.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/nova/api/openstack/auth.py b/nova/api/openstack/auth.py index 7c3e683d6..6231216c9 100644 --- a/nova/api/openstack/auth.py +++ b/nova/api/openstack/auth.py @@ -100,6 +100,7 @@ class AuthMiddleware(wsgi.Middleware): token, user = self._authorize_user(username, key, req) if user and token: + print "TOKEN:", token['token_hash'] res = webob.Response() res.headers['X-Auth-Token'] = token['token_hash'] res.headers['X-Server-Management-Url'] = \ diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py index 5b6e3cb1d..ba8ee8bfd 100644 --- a/nova/api/openstack/wsgi.py +++ b/nova/api/openstack/wsgi.py @@ -362,6 +362,7 @@ class Resource(wsgi.Application): "url": request.url}) try: + print "BODY: >%s<"%request.body action, action_args, accept = self.deserializer.deserialize( request) except exception.InvalidContentType: |
