| 37 | } |
| 38 | |
| 39 | string S3Url::getFullUrlForCurl() const { |
| 40 | stringstream fullUrl; |
| 41 | |
| 42 | fullUrl << this->getSchema() << "://" << this->getHostForCurl() << "/" << this->getBucket() |
| 43 | << "/" << this->getPrefix(); |
| 44 | |
| 45 | return fullUrl.str(); |
| 46 | } |
| 47 | |
| 48 | string S3Url::getHostForCurl() const { |
| 49 | if (version != "1") { |