Skip to content

Commit 7a7a648

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 9b41748 commit 7a7a648

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/WebRequest.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,12 @@ bool AsyncWebServerRequest::_parseReqHead() {
341341
_method = HTTP_MOVE;
342342
} else if (m == T_COPY) {
343343
_method = HTTP_COPY;
344+
} else if (m == T_CONNECT) {
345+
_method = HTTP_CONNECT;
346+
} else if (m == T_TRACE) {
347+
_method = HTTP_TRACE;
348+
} else if (m == T_SEARCH) {
349+
_method = HTTP_SEARCH;
344350
} else {
345351
return false;
346352
}

0 commit comments

Comments
 (0)