Skip to content

Commit d8abe85

Browse files
committed
feat!: add support for dynamic routing
1 parent 5e5fb77 commit d8abe85

File tree

3 files changed

+241
-47
lines changed

3 files changed

+241
-47
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Should never be used in production for obvious reasons 💀
2626
- [ ] HTTPS 🛡️
2727
- [ ] Improved routing 🚄 (W.I.P)
2828
- [x] static file serving (using `mime_guess` for setting proper mime type)
29-
- [ ] support for dynamic paths: `/foo/{:id}/bar`
29+
- [x] support for dynamic paths: `/foo/{:id}/bar`
3030

3131
## Usage example
3232

src/http/response_status_codes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use std::fmt::Display;
22

3+
#[derive(Debug, PartialEq, Eq)]
34
pub enum HttpStatusCode {
45
// 1XX
56
Continue = 100,

0 commit comments

Comments
 (0)