mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
add some return headers to WebServer
This commit is contained in:
@ -251,7 +251,9 @@ void ESP8266WebServer::_handleRequest() {
|
||||
|
||||
const char* ESP8266WebServer::_responseCodeToString(int code) {
|
||||
switch (code) {
|
||||
case 101: return "Switching Protocols";
|
||||
case 200: return "OK";
|
||||
case 403: return "Forbidden";
|
||||
case 404: return "Not found";
|
||||
case 500: return "Fail";
|
||||
default: return "";
|
||||
|
Reference in New Issue
Block a user