mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-05-09 16:10:42 +00:00
add headers to the response (#27)
This commit is contained in:
parent
3600a115d0
commit
44f3c9fe84
9 changed files with 48 additions and 12 deletions
|
@ -10,6 +10,7 @@ enum Error {
|
|||
InternalServerError(String)
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
mod resource_error {
|
||||
use super::Error;
|
||||
use gotham::hyper::StatusCode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue