]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
swift: auth response returns X-Auth-Token instead of X-Storage-Token
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 14 Dec 2011 18:49:42 +0000 (10:49 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 14 Dec 2011 18:50:30 +0000 (10:50 -0800)
src/rgw/rgw_swift_auth.cc

index e70afc4cf376764e4c502824a03a5abb2d0dd6de..75436bf60f4963e9212950ed9d63d13a0d34615a 100644 (file)
@@ -207,7 +207,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-Storage-Token: AUTH_rgwtk%s\n", buf);
+    CGI_PRINTF(s, "X-Auth-Token: AUTH_rgwtk%s\n", buf);
   }
 
   ret = STATUS_NO_CONTENT;