OCT 更正HTTP接口方法错误
This commit is contained in:
parent
7f6a59f562
commit
b05d9987f1
|
@ -305,7 +305,7 @@ static void opendhcp_http_get_userinfo(http_request *request, hw_http_response *
|
|||
return;
|
||||
}
|
||||
|
||||
if (request->method != HW_HTTP_GET) {
|
||||
if (request->method != HW_HTTP_POST) {
|
||||
hw_http_response_send_error(response, HTTP_STATUS_405, HTTP_STATUS_405);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue