Add cache-control headers to API responses

This commit is contained in:
Dustin J. Mitchell
2021-09-15 22:32:35 +00:00
parent 3837a61b6f
commit 217f3bf28a
2 changed files with 27 additions and 8 deletions

View File

@@ -44,7 +44,6 @@ pub(crate) async fn service(
#[cfg(test)]
mod test {
use crate::api::ServerState;
use crate::storage::{InMemoryStorage, Storage};
use crate::Server;
use actix_web::{http::StatusCode, test, App};