⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 http_err.c

📁 web_based.rar
💻 C
字号:
/*----------------------------------------------------------------------------
 *      R T L  -  T C P N E T
 *----------------------------------------------------------------------------
 *      Name:    HTTP_ERR.C
 *      Purpose: HTTP Server Error Page Definitions
 *      Rev.:    V3.20
 *----------------------------------------------------------------------------
 *      This code is part of the RealView Run-Time Library.
 *      Copyright (c) 2004-2008 KEIL - An ARM Company. All rights reserved.
 *---------------------------------------------------------------------------*/

#include <RTL.h>

/* Note: Keep HTTP Error pages small sized. */

/* HTTP Error 404 - File not Found */
const char http_err_404[] = {
        "<head><title>DC102 Embedded WEB Server</title></head>"
        "<body>"
        "<h2>HTTP 1.0 404 Error. File Not Found</h2>"
        "The requested URL was not found on this server."
        "<hr><br>"
        "<i>DC102 Embedded WEB Server V1.00, 2008<br>"
        "<a href=http://www.cms.com> www.cms.com</a>"
        " - Access and Time Attendance Systems</i>"
        "</body>"};

/* HTTP Error 401 - Unauthorized access. */
const char http_err_401[] = {
        "<head><title>DC102 Embedded WEB Server</title></head>"
        "<body>"
        "<h2>HTTP 1.0 401 Error. Unauthorized Access</h2>"
        "You are not authorized to access this server."
        "<hr><br>"
        "<i>DC102 Embedded WEB Server V1.00, 2008<br>"
        "<a href=http://www.cms.com> www.cms.com</a>"
        " - Access and Time Attendance Systems</i>"
        "</body>"};

/* Page size definitions. */
const U32 sizeof_http_err_404 = sizeof (http_err_404);
const U32 sizeof_http_err_401 = sizeof (http_err_401);


/*----------------------------------------------------------------------------
 * end of file
 *---------------------------------------------------------------------------*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -