forked from boostorg/beast
Fix HEAD response in file_service
This commit is contained in:
committed by
Vinnie Falco
parent
0ab9975751
commit
9fe7f6e415
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user