Skip to content

Commit 94ac8b4

Browse files
authored
reset some (#719)
1 parent 4d85fb5 commit 94ac8b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/cinatra/coro_http_response.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,8 @@ class coro_http_response {
377377
has_set_content_ = false;
378378
cookies_.clear();
379379
need_date_ = true;
380+
content_type_ = {};
381+
content_view_ = {};
380382
}
381383

382384
void set_shrink_to_fit(bool r) { need_shrink_every_time_ = r; }

0 commit comments

Comments
 (0)