Skip to content

Commit 869a0ab

Browse files
committed
Fix header name.
1 parent 885ac41 commit 869a0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/crow/http_response.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ namespace crow
243243
std::size_t last_dot = path.find_last_of(".");
244244
std::string extension = path.substr(last_dot + 1);
245245
code = 200;
246-
this->add_header("Content-length", std::to_string(file_info.statbuf.st_size));
246+
this->add_header("Content-Length", std::to_string(file_info.statbuf.st_size));
247247

248248
if (!extension.empty())
249249
{

0 commit comments

Comments
 (0)