From 128d2a057c6a8f61af127b0c78380a25a77b6014 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Fri, 9 Jan 2026 11:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=94=AF=E6=8C=81HTTP=20PUT?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Http/HttpSession.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Http/HttpSession.cpp b/src/Http/HttpSession.cpp index ff889e13..cc4dc0e9 100644 --- a/src/Http/HttpSession.cpp +++ b/src/Http/HttpSession.cpp @@ -61,6 +61,7 @@ ssize_t HttpSession::onRecvHeader(const char *header, size_t len) { static onceToken token([]() { s_func_map.emplace("GET", &HttpSession::onHttpRequest_GET); s_func_map.emplace("POST", &HttpSession::onHttpRequest_POST); + s_func_map.emplace("PUT", &HttpSession::onHttpRequest_POST); // DELETE命令用于whip/whep用,只用于触发http api [AUTO-TRANSLATED:f3b7aaea] // DELETE command is used for whip/whep, only used to trigger http api s_func_map.emplace("DELETE", &HttpSession::onHttpRequest_POST);