Let's build an HTTP server
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/target/
|
||||
Generated
+7
@@ -0,0 +1,7 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "h8r"
|
||||
version = "0.1.0"
|
||||
@@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "h8r"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
@@ -0,0 +1,5 @@
|
||||
# h8r gonna h8
|
||||
|
||||
h + len(ttpserve) + r
|
||||
|
||||
A li'l HTTP server for learning stuff.
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
- [ ] single-request server on fixed port responding "oh no"
|
||||
- [ ] multi-request server on fixed port responding "oh no"
|
||||
- [ ] configurable port and working directory
|
||||
- [ ] string responses
|
||||
- [ ] error page paths
|
||||
- [ ] serve "index.txt" file if exists, else 404
|
||||
- [ ] serve relative paths with mime type text/plain
|
||||
- [ ] guess mime type
|
||||
- [ ] automatic directory index
|
||||
- [ ] content ranges
|
||||
- [ ] upstream proxy via prefix
|
||||
- [ ] upstream proxy path match
|
||||
- [ ] upstream proxy header middleware rules
|
||||
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in New Issue
Block a user