]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "swift: auth response returns X-Auth-Token instead of X-Storage-Token"
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 16 Feb 2012 21:02:44 +0000 (13:02 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 16 Feb 2012 21:02:44 +0000 (13:02 -0800)
This reverts commit e8e1e5dffbd25e2124331e607264e1bc4120676c.

src/rgw/rgw_swift_auth.cc

index 428a17ff6f3d2b885a42ab35d38a0902fb26555a..03725bef895ea39e444018826dfe509e99a3f74d 100644 (file)
@@ -205,7 +205,7 @@ void RGW_SWIFT_Auth_Get::execute()
     char buf[bl.length() * 2 + 1];
     buf_to_hex((const unsigned char *)bl.c_str(), bl.length(), buf);
 
-    CGI_PRINTF(s, "X-Auth-Token: AUTH_rgwtk%s\n", buf);
+    CGI_PRINTF(s, "X-Storage-Token: AUTH_rgwtk%s\n", buf);
   }
 
   ret = STATUS_NO_CONTENT;