Bug #439 ยป 0001-Add-RGW_PRINT_CONTINUE-to-control-wether-we-print-th.patch
src/rgw/rgw_rest.cc | ||
---|---|---|
s->copy_source = FCGX_GetParam("HTTP_X_AMZ_COPY_SOURCE", s->fcgx->envp);
|
||
s->http_auth = FCGX_GetParam("HTTP_AUTHORIZATION", s->fcgx->envp);
|
||
const char *expect = FCGX_GetParam("HTTP_EXPECT", s->fcgx->envp);
|
||
s->expect_cont = (expect && !strcasecmp(expect, "100-continue"));
|
||
const char *cgi_env_continue = FCGX_GetParam("RGW_PRINT_CONTINUE", s->fcgx->envp);
|
||
if (cgi_env_continue != NULL && strcasecmp(cgi_env_continue, "On") == 0) {
|
||
const char *expect = FCGX_GetParam("HTTP_EXPECT", s->fcgx->envp);
|
||
s->expect_cont = (expect && !strcasecmp(expect, "100-continue"));
|
||
}
|
||
}
|
||
static bool is_acl_op(struct req_state *s)
|