feat: new format response in order to properly manage headers

This commit is contained in:
2025-01-16 20:42:46 +01:00
parent 3160febb58
commit 73a2748806
4 changed files with 72 additions and 29 deletions

View File

@@ -1,4 +1,5 @@
# TODO
- [x] Manage requests
- [x] Router
- [NOT NEEDED] HTTP code mapper : not needed because a code will be directly translated on the client (browser / postman)
@@ -9,7 +10,10 @@
- [ ] Auto-cleanup
- [ ] Transversal utility
- [ ] Let programmer set the default not found response
- [x] Manage basic defaults app and route headers
- [ ] Manage route specific headers
- [ ] Allow middleware
- [ ] Study how to organize functions on structs or types if possible
## Improvements