Skip to content

Commit

Permalink
Update bbn_m5atomS3_lite_ethernet_webserver.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Jan 27, 2025
1 parent ee0070b commit 622a6a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ byte mac[] = {0xDE, 0xAD, 0xBE, 0xDE, 0xCA, 0xDE}; // Host name will be WIZnetD

EthernetServer server(80);

void header_page(EthernetClient client, int request_status = 200) { // The first half of the common PHP file
void header_page(EthernetClient client, int request_status = 200) {
client.println("HTTP/1.1 " + String(request_status) + " Not found");
client.println("Content-Type: text/html");
client.println("Connection: close"); // the connection will be closed after completion of the response
Expand Down

0 comments on commit 622a6a9

Please sign in to comment.