diff options
author | Tyler Murphy <tylerm@tylerm.dev> | 2023-07-02 22:15:24 -0400 |
---|---|---|
committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-07-02 22:15:24 -0400 |
commit | 41fe16978ea506127bf43c21e977fd9581d87282 (patch) | |
tree | b5bf1ef7a37404350d45f0b6e8a00c5b32216e08 /src/http/code.rs | |
parent | more info (diff) | |
download | bashttp-41fe16978ea506127bf43c21e977fd9581d87282.tar.gz bashttp-41fe16978ea506127bf43c21e977fd9581d87282.tar.bz2 bashttp-41fe16978ea506127bf43c21e977fd9581d87282.zip |
add methods to routes, allow custom headers and response codes
Diffstat (limited to 'src/http/code.rs')
-rw-r--r-- | src/http/code.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/http/code.rs b/src/http/code.rs deleted file mode 100644 index ba47282..0000000 --- a/src/http/code.rs +++ /dev/null @@ -1,8 +0,0 @@ -#[derive(Debug, Clone)] -#[allow(dead_code)] -pub enum Code { - Success = 200, - MethodNotAllowed = 405, - TooManyRequests = 429, - InternalServerError = 500, -} |