mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
精简代码
This commit is contained in:
@@ -299,9 +299,7 @@ void HttpSession::Handle_Req_GET(int64_t &content_len) {
|
||||
if (!strongSelf) {
|
||||
return;
|
||||
}
|
||||
strongSelf->sendResponse(status_code.data(), bClose,
|
||||
content_type.empty() ? nullptr : content_type.data(),
|
||||
responseHeader, body);
|
||||
strongSelf->sendResponse(status_code.data(), bClose, content_type.data(), responseHeader, body);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user