Commits on Source (38)
-
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
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
Result<&str, ParseFormError>>, ParseFormError> for easier handling of not existant keys
-
codecraft authored
-
codecraft authored
-
codecraft authored
-
codecraft authored
Applicacation-x-www-urlencoded forms
-
codecraft authored
-
codecraft authored
TODO: Add '\n' detector in thing
-
codecraft authored
set maximum post body size to 4196 bytes
-
codecraft authored
-
codecraft authored
-
codecraft authored
Added TODO: file
-
codecraft authored
Showing
- TODO.md 9 additions, 0 deletionsTODO.md
- core/http/Cargo.lock 452 additions, 0 deletionscore/http/Cargo.lock
- core/http/Cargo.toml 2 additions, 0 deletionscore/http/Cargo.toml
- core/http/src/handlers/handlers.rs 180 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 56 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 366 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 101 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 109 additions, 0 deletionscore/http/src/setup.rs
- core/http/src/utils/mime/map.rs 2022 additions, 0 deletionscore/http/src/utils/mime/map.rs
- core/http/src/utils/mime/mime_enum.rs 4100 additions, 0 deletionscore/http/src/utils/mime/mime_enum.rs
- core/http/src/utils/mime/mod.rs 2 additions, 0 deletionscore/http/src/utils/mime/mod.rs
- core/http/src/utils/mod.rs 1 addition, 0 deletionscore/http/src/utils/mod.rs
- generatersenum.py 73 additions, 0 deletionsgeneratersenum.py
- site/404.html 23 additions, 0 deletionssite/404.html
- site/411.html 9 additions, 0 deletionssite/411.html
TODO.md
0 → 100644
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/mime/map.rs
0 → 100644
This diff is collapsed.
core/http/src/utils/mime/mime_enum.rs
0 → 100644
This diff is collapsed.
core/http/src/utils/mime/mod.rs
0 → 100644
core/http/src/utils/mod.rs
0 → 100644
generatersenum.py
0 → 100644
site/404.html
0 → 100644
site/411.html
0 → 100644