Properly clear responses

Closes #104.
This commit is contained in:
rittelle 2021-02-12 13:21:59 +01:00
parent 1c505df69f
commit 3b151d569d

View File

@ -97,6 +97,7 @@ namespace crow
code = 200; code = 200;
headers.clear(); headers.clear();
completed_ = false; completed_ = false;
file_info = static_file_info{};
} }
/// Return a "Temporary Redirect" response. /// Return a "Temporary Redirect" response.