Commits on Source (22)
-
codecraft authored
returning a standard site
-
codecraft authored
-
codecraft authored
1. Organize lib.rs in modules 1. Setting up basic text-file server functionality 1. Adding some test files
-
codecraft authored
update routeing module
-
codecraft authored
improve division of code into different modules
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
removing `unwraps()` and replacing them with propper error handling remove unnecessary `clone()` calls
-
codecraft authored
-
codecraft authored
-
codecraft authored
add a get request with form
Showing
- core/http/Cargo.lock 384 additions, 0 deletionscore/http/Cargo.lock
- core/http/Cargo.toml 2 additions, 0 deletionscore/http/Cargo.toml
- core/http/src/handlers/handlers.rs 178 additions, 0 deletionscore/http/src/handlers/handlers.rs
- core/http/src/handlers/mod.rs 1 addition, 0 deletionscore/http/src/handlers/mod.rs
- core/http/src/handling/file_handlers.rs 69 additions, 0 deletionscore/http/src/handling/file_handlers.rs
- core/http/src/handling/methods.rs 49 additions, 0 deletionscore/http/src/handling/methods.rs
- core/http/src/handling/mod.rs 5 additions, 0 deletionscore/http/src/handling/mod.rs
- core/http/src/handling/request.rs 113 additions, 0 deletionscore/http/src/handling/request.rs
- core/http/src/handling/response.rs 212 additions, 0 deletionscore/http/src/handling/response.rs
- core/http/src/handling/routes.rs 79 additions, 0 deletionscore/http/src/handling/routes.rs
- core/http/src/lib.rs 7 additions, 11 deletionscore/http/src/lib.rs
- core/http/src/setup.rs 108 additions, 0 deletionscore/http/src/setup.rs
- core/http/src/utils/mod.rs 0 additions, 0 deletionscore/http/src/utils/mod.rs
- site/404.html 26 additions, 0 deletionssite/404.html
- site/411.html 9 additions, 0 deletionssite/411.html
- site/Cargo.lock 382 additions, 0 deletionssite/Cargo.lock
- site/Cargo.toml 2 additions, 0 deletionssite/Cargo.toml
- site/hello.css 4 additions, 0 deletionssite/hello.css
- site/img.jpg 0 additions, 0 deletionssite/img.jpg
- site/src/main.rs 119 additions, 2 deletionssite/src/main.rs
core/http/src/handlers/handlers.rs
0 → 100755
core/http/src/handlers/mod.rs
0 → 100644
core/http/src/handling/file_handlers.rs
0 → 100644
core/http/src/handling/methods.rs
0 → 100644
core/http/src/handling/mod.rs
0 → 100644
core/http/src/handling/request.rs
0 → 100644
core/http/src/handling/response.rs
0 → 100644
core/http/src/handling/routes.rs
0 → 100644
core/http/src/setup.rs
0 → 100644
core/http/src/utils/mod.rs
0 → 100644
site/404.html
0 → 100644
site/411.html
0 → 100644
site/hello.css
0 → 100644
site/img.jpg
0 → 100644
50.3 KiB