diff options
Diffstat (limited to 'methods/https.cc')
-rw-r--r-- | methods/https.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/https.cc b/methods/https.cc index 35992ee96..92f786d17 100644 --- a/methods/https.cc +++ b/methods/https.cc @@ -388,7 +388,7 @@ bool HttpsMethod::Fetch(FetchItem *Itm) std::string Buf; strprintf(Buf, "Range: bytes=%lli-", (long long) SBuf.st_size); headers = curl_slist_append(headers, Buf.c_str()); - strprintf(Buf, "If-Range: %s", TimeRFC1123(SBuf.st_mtime).c_str()); + strprintf(Buf, "If-Range: %s", TimeRFC1123(SBuf.st_mtime, false).c_str()); headers = curl_slist_append(headers, Buf.c_str()); } else if(Itm->LastModified > 0) |