/**
- * Send on \param client socket
- * the 200 Ok http header
+ * Send on \param client socket the 200 Ok http header with
+ * select \param content_type
*/
void http_sendOk(struct netconn *client, int content_type)
{
/**
- * Send on \param client socket
- * the 404 File not found http header
+ * Send on \param client socket the 404 File not found http header with
+ * select \param content_type
*/
void http_sendFileNotFound(struct netconn *client, int content_type)
{
}
/**
- * Send on \param client socket
- * the 500 internal server error http header
+ * Send on \param client socket the 500 internal server error http header with
+ * select \param content_type
*/
void http_sendInternalErr(struct netconn *client, int content_type)
{
if (!strcmp(table[i].name, ext))
{
- LOG_INFO("Match all ext %s\n", ext);
+ LOG_INFO("Match ext: %s\n", ext);
break;
}
}
if (strstr(name, table[i].name) != NULL)
{
- LOG_INFO("Match all name %s\n", name);
+ LOG_INFO("Match string: %s\n", name);
break;
}
}
if (!strcmp(table[i].name, name))
{
- LOG_INFO("Match all word %s\n", name);
+ LOG_INFO("Word match: %s\n", name);
break;
}
}
memset(req_string, 0, sizeof(req_string));
http_getPageName(rx_buf, len, req_string, sizeof(req_string));
- LOG_INFO("Search %s\n", req_string);
if (req_string[0] == '\0')
strcpy(req_string, HTTP_DEFAULT_PAGE);