locale independent http date header
This commit is contained in:
@@ -57,7 +57,7 @@ ResponseBuilder& ResponseBuilder::File(const std::filesystem::path& path,
|
||||
|
||||
ResponseBuilder& ResponseBuilder::Date() {
|
||||
headers_.push_back(headers::kDate);
|
||||
headers_.push_back(utility::GetTimestamp());
|
||||
headers_.push_back(utility::HttpDate());
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user