MCPcopy Create free account
hub / github.com/apache/cloudberry / Add

Method Add

gpcontrib/gpcloud/src/s3http_headers.cpp:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11bool HTTPHeaders::Add(HeaderField f, const string &v) {
12 if (v.empty()) {
13 return false;
14 } else {
15 this->fields[f] = v;
16 return true;
17 }
18}
19
20void HTTPHeaders::Disable(HeaderField f) {
21 this->disabledFields.insert(f);

Callers 12

TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
getBucketResponseMethod · 0.45
fetchDataMethod · 0.45
checkCompressionTypeMethod · 0.45
checkKeyExistenceMethod · 0.45
getUploadIdMethod · 0.45
uploadPartOfDataMethod · 0.45
completeMultiPartMethod · 0.45
abortUploadMethod · 0.45
SignRequestV4Function · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36