]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
RGWHTTPArgs::get_str() - return argument string that was set. 10672/head
authorMarcus Watts <mwatts@redhat.com>
Wed, 11 Nov 2015 05:17:03 +0000 (00:17 -0500)
committerMarcus Watts <mwatts@redhat.com>
Fri, 11 Nov 2016 06:24:44 +0000 (01:24 -0500)
sts shares code between get/post; the post code needs
to be able to validate that "get style" arguments weren't also passed.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
src/rgw/rgw_common.h

index f11e087d10590ba81d22ea77ea723a189f1327ed..b852520e4c6ecb7b1f34486b1aae4b7d0f5910e8 100644 (file)
@@ -348,6 +348,9 @@ class RGWHTTPArgs
       val_map[iter->first] = iter->second;
     }
   }
+  const string& get_str() {
+    return str;
+  }
 };
 
 class RGWEnv;