Simple HTTP Server

This commit is contained in:
GuilhermeWerner
2021-07-04 10:51:06 -03:00
parent b8b36dd68d
commit c342c61b1a
4 changed files with 72 additions and 1 deletions

14
Resources/404.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hello!</title>
</head>
<body>
<h1>Oops!</h1>
<p>Sorry, I don't know what you're asking for.</p>
</body>
</html>

14
Resources/Hello.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hello!</title>
</head>
<body>
<h1>Hello!</h1>
<p>Hi from Rust</p>
</body>
</html>