-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update status_code to uint16_t and add HTTP response tests
Change status_code type from uint8_t to uint16_t for better range handling. Add tests for rendering HTTP 404 response with no body and 200 response with a JSON body to ensure proper functionality.
- Loading branch information
1 parent
581ab2b
commit b831336
Showing
2 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters