This commit is contained in:
flamingos-cant 2024-11-25 12:12:40 +00:00
parent c5b82d9b12
commit 648f97492a

View file

@ -20,12 +20,15 @@ use lemmy_db_schema::{
use lemmy_utils::{ use lemmy_utils::{
error::{FederationError, LemmyError, LemmyErrorExt, LemmyErrorType, LemmyResult}, error::{FederationError, LemmyError, LemmyErrorExt, LemmyErrorType, LemmyResult},
settings::structs::{PictrsImageMode, Settings}, settings::structs::{PictrsImageMode, Settings},
REQWEST_TIMEOUT, VERSION, REQWEST_TIMEOUT,
VERSION,
}; };
use mime::Mime; use mime::Mime;
use reqwest::{ use reqwest::{
header::{CONTENT_TYPE, RANGE}, header::{CONTENT_TYPE, RANGE},
Client, ClientBuilder, Response, Client,
ClientBuilder,
Response,
}; };
use reqwest_middleware::ClientWithMiddleware; use reqwest_middleware::ClientWithMiddleware;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};