diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a809e3e..a1485bec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Version 70: * Add basic_parser header and body limits * Add parser::on_header to set a callback * Fix BEAST_FALLTHROUGH +* Fix HEAD response in file_service API Changes: diff --git a/example/server-framework/file_service.hpp b/example/server-framework/file_service.hpp index d21cf136..36571529 100644 --- a/example/server-framework/file_service.hpp +++ b/example/server-framework/file_service.hpp @@ -157,7 +157,7 @@ public: boost::filesystem::path full_path = root_ / rel_path; // Make sure the file is there - if(! boost::filesystem::exists(full_path)) + if(boost::filesystem::exists(full_path)) { // Send a HEAD response send(head(req, full_path));