diff --git a/plugins/http/src/commands.rs b/plugins/http/src/commands.rs index 7d5c1424..687cb8f2 100644 --- a/plugins/http/src/commands.rs +++ b/plugins/http/src/commands.rs @@ -23,8 +23,6 @@ use crate::{ const HTTP_USER_AGENT: &str = concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION"),); -impl tauri::Resource for ReqwestResponse {} - type CancelableResponseResult = Result; type CancelableResponseFuture = Pin + Send + Sync>>; @@ -414,9 +412,6 @@ pub async fn fetch_send( )); } - let mut resources_table = webview.resources_table(); - let rid = resources_table.add(ReqwestResponse(res)); - Ok(FetchResponse { status: status.as_u16(), status_text: status.canonical_reason().unwrap_or_default().to_string(),