File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5439,9 +5439,10 @@ TEST(ServerLargeContentTest, DISABLED_SendLargeContent) {
54395439 ASSERT_TRUE (content);
54405440
54415441 Server svr;
5442- svr.Get (" /foo" , [=](const httplib::Request &req, httplib::Response &resp) {
5443- resp.set_content (content, content_size, " application/octet-stream" );
5444- });
5442+ svr.Get (" /foo" ,
5443+ [=](const httplib::Request & /* req*/ , httplib::Response &res) {
5444+ res.set_content (content, content_size, " application/octet-stream" );
5445+ });
54455446
54465447 auto listen_thread = std::thread ([&svr]() { svr.listen (HOST, PORT); });
54475448 auto se = detail::scope_exit ([&] {
@@ -6242,7 +6243,7 @@ TEST(MultipartFormDataTest, AlternateFilename) {
62426243 " \r\n "
62436244 " text default\r\n "
62446245 " ----------\r\n "
6245- " Content-Disposition: form-data; filename*=\" UTF-8''\ %41.txt\" ; "
6246+ " Content-Disposition: form-data; filename*=\" UTF-8''%41.txt\" ; "
62466247 " filename=\" a.txt\" ; name=\" file1\"\r\n "
62476248 " Content-Type: text/plain\r\n "
62486249 " \r\n "
You can’t perform that action at this time.
0 commit comments