mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-10 09:05:50 +00:00
Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
@ -642,7 +642,7 @@ int http_fn_cmd_tool(http_request_t *request) {
|
||||
|
||||
poststr(request,"<label for=\"cmd\">cmd:</label><br>\
|
||||
<input type=\"text\" id=\"cmd\" name=\"cmd\" ");
|
||||
hprintf128(request,"value=\"%s\">",tmpA);
|
||||
hprintf128(request,"value=\"%s\" size=\"80\">",tmpA);
|
||||
poststr(request,"<br><br>\
|
||||
<input type=\"submit\" value=\"Submit\">\
|
||||
</form> ");
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
|
||||
|
||||
#include "../new_common.h"
|
||||
#include "../logging/logging.h"
|
||||
#include "ctype.h"
|
||||
#if WINDOWS
|
||||
//#include <windows.h>
|
||||
@ -408,9 +409,9 @@ int HTTP_ProcessPacket(http_request_t *request) {
|
||||
}
|
||||
|
||||
if (request->method == HTTP_GET) {
|
||||
printf("HTTP request\n");
|
||||
ADDLOG_INFO(LOG_FEATURE_HTTP, "HTTP request\n");
|
||||
} else {
|
||||
printf("Other request\n");
|
||||
ADDLOG_INFO(LOG_FEATURE_HTTP, "Other request\n");
|
||||
}
|
||||
|
||||
// if OPTIONS, return now - for CORS
|
||||
|
||||
Reference in New Issue
Block a user