Merge pull request #109 from rittelle/fix-104

Properly clear responses
This commit is contained in:
Farook Al-Sammarraie 2021-02-15 15:24:42 +03:00 committed by GitHub
commit 51a8a977d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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