back to scratko.xyz
summaryrefslogtreecommitdiff
path: root/test_files
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-07-17 02:33:49 +0300
committerscratko <m@scratko.xyz>2024-07-17 02:33:49 +0300
commit5d4ea2faee069e94468e14232d09b774903285f1 (patch)
treefcf6fa983c84d526b725c8f94a813d01aa76aa1a /test_files
downloadhttp-server-5d4ea2faee069e94468e14232d09b774903285f1.tar.gz
http-server-5d4ea2faee069e94468e14232d09b774903285f1.tar.bz2
http-server-5d4ea2faee069e94468e14232d09b774903285f1.zip
Initial commit
Diffstat (limited to 'test_files')
-rw-r--r--test_files/400.html7
-rw-r--r--test_files/404.html7
-rw-r--r--test_files/index.html17
3 files changed, 31 insertions, 0 deletions
diff --git a/test_files/400.html b/test_files/400.html
new file mode 100644
index 0000000..edfac25
--- /dev/null
+++ b/test_files/400.html
@@ -0,0 +1,7 @@
+<html>
+<head><title>400 Bad Request</title></head>
+<body>
+<center><h1>400 Bad Request</h1></center>
+<hr><center>scratko's server 1.0</center>
+</body>
+</html>
diff --git a/test_files/404.html b/test_files/404.html
new file mode 100644
index 0000000..e8286d3
--- /dev/null
+++ b/test_files/404.html
@@ -0,0 +1,7 @@
+<html>
+<head><title>404 Not Found</title></head>
+<body>
+<center><h1>404 Not Found</h1></center>
+<hr><center>scratko's server 1.0</center>
+</body>
+</html>
diff --git a/test_files/index.html b/test_files/index.html
new file mode 100644
index 0000000..1dfbbed
--- /dev/null
+++ b/test_files/index.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Welcome to nginx!</title>
+<style>
+ body {
+ width: 35em;
+ margin: 0 auto;
+ font-family: Tahoma, Verdana, Arial, sans-serif;
+ }
+</style>
+</head>
+<body>
+<h1>Welcome to scratko's server!</h1>
+<p>Test page.</p>
+</body>
+</html>