X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_http.c;h=d195d05db416adcf4eeaa7be1b6910b159d48704;hb=4278d44ef7681c56f4bd16615c3c4d9338112df4;hp=7d9ba7b3181956ae72062e709c3cabd70e4eaacb;hpb=567b81d9dd3bd0a0cd8df4a3d464b3273576fe73;p=bertos.git diff --git a/bertos/hw/hw_http.c b/bertos/hw/hw_http.c index 7d9ba7b3..d195d05d 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[] = " \ + \ + \ +500 Internal Server error

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);