Imply basic req/resp mod
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test Page</title>
|
||||
<style>
|
||||
body {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
header {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
header>* {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
main>* {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
footer {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
footer>* {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Welcome to rust-http-server!</h1>
|
||||
</header>
|
||||
<main>
|
||||
<p>The basic function of this server is working properly, if you are able to see this page.</p>
|
||||
</main>
|
||||
<footer>
|
||||
<p>12Hydrogen 2026</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user