mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-28 08:50:54 +08:00
http回复根据状态码自动生成status message: #602
This commit is contained in:
@@ -79,7 +79,7 @@ void initEventListener(){
|
||||
//请勿覆盖Connection、Content-Length键
|
||||
//键名覆盖时不区分大小写
|
||||
headerOut["TestHeader"] = "HeaderValue";
|
||||
invoker("200 OK",headerOut,contentOut);
|
||||
invoker(200,headerOut,contentOut);
|
||||
});
|
||||
});
|
||||
}, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user