mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-03-28 02:52:00 +03:00
Include headers properly
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
#include <GlobalConst.h>
|
||||
#include "HTTP.h"
|
||||
|
||||
#include <Mayaqua/Mayaqua.h>
|
||||
#include "Kernel.h"
|
||||
#include "Memory.h"
|
||||
#include "Network.h"
|
||||
#include "Pack.h"
|
||||
#include "Str.h"
|
||||
|
||||
static char http_404_str[] = "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<HTML><HEAD>\r\n<TITLE>404 Not Found</TITLE>\r\n</HEAD><BODY>\r\n<H1>Not Found</H1>\r\nThe requested URL $TARGET$ was not found on this server.<P>\r\n<HR>\r\n<ADDRESS>HTTP Server at $HOST$ Port $PORT$</ADDRESS>\r\n</BODY></HTML>\r\n";
|
||||
static char http_403_str[] = "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<HTML><HEAD>\r\n<TITLE>403 Forbidden</TITLE>\r\n</HEAD><BODY>\r\n<H1>Forbidden</H1>\r\nYou don't have permission to access $TARGET$\r\non this server.<P>\r\n<HR>\r\n<ADDRESS>HTTP Server at $HOST$ Port $PORT$</ADDRESS>\r\n</BODY></HTML>\r\n";
|
||||
|
||||
Reference in New Issue
Block a user