-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for custom status codes in "serveFile". (#128)
* Add support for status codes in "serveFile". * Prevent having to create an extra buffer and misusing memory. * Avoid overwriting status code if one wasn't passed. Remove unnecessary log statement.
- Loading branch information
1 parent
97d8e64
commit 2b6644d
Showing
2 changed files
with
38 additions
and
9 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