summaryrefslogtreecommitdiff
path: root/src/request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/request.c')
-rw-r--r--src/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/request.c b/src/request.c
index 8b4df63..d5b455e 100644
--- a/src/request.c
+++ b/src/request.c
@@ -473,7 +473,7 @@ static S3Status compose_standard_headers(const RequestParams *params,
S3StatusIfNotMatchETagTooLong);
// Range header
- if (params->getConditions && (params->startByte || params->byteCount)) {
+ if (params->startByte || params->byteCount) {
if (params->byteCount) {
snprintf(values->rangeHeader, sizeof(values->rangeHeader),
"Range: bytes=%llu-%llu",