X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_http.c;h=3e9eb90e8c91b0ea7cb13d05661f78aaeed7e7af;hb=9fc5afec7ece954244296308553ed55382cb4ba7;hp=7d9ba7b3181956ae72062e709c3cabd70e4eaacb;hpb=5726374e3dc5a370ae5ab43c400e43b6ed954edd;p=bertos.git diff --git a/bertos/hw/hw_http.c b/bertos/hw/hw_http.c index 7d9ba7b3..3e9eb90e 100644 --- a/bertos/hw/hw_http.c +++ b/bertos/hw/hw_http.c @@ -40,7 +40,7 @@ const char http_file_not_found[] = "\ \ \ -404 Not Found

404 Not Found

\ +404 Not Found

404 Not Found

\

The requested URL was not found on this server.


\
BeRTOS simple HTTP server
"; @@ -49,8 +49,17 @@ const size_t http_file_not_found_len = sizeof(http_file_not_found); const char http_sd_not_present[] = " \ \ \ -BeRTOS simple HTTP Server \ +BeRTOS simple HTTP Server \

BeRTOS simple HTTP Server

Simple Http server, the site's pages are stored on SD card, check it if is present.


\ www.BeRTOS.org \ "; const size_t http_sd_not_present_len = sizeof(http_sd_not_present); + +const char http_server_error[] = " \ + \ + \ +404 Not Found

500 Internal Server error

\ +

The internal server error was occur while processing the requested page.


\ +
BeRTOS simple HTTP server
"; + +const size_t http_server_error_len = sizeof(http_server_error_len);