macro_rules! static_response {
( $id:expr ) => { ... };
( $etag_if_none_match:expr, $id:expr ) => { ... };
}
Expand description
Used for retrieving the file you input through the macro static_resources_initialize!
as a Response instance into which three HTTP headers, Content-Type, Content-Length and Etag, will be automatically added.