diff --git a/AppleLibs/Network/Requests/DataManager.swift b/AppleLibs/Network/Requests/DataManager.swift
index f1eb9c0bd0ff42687cc1135332d8c5c0a388fcc8..739ab790b358d83bc9c0ae6a87245de437f775df 100644
--- a/AppleLibs/Network/Requests/DataManager.swift
+++ b/AppleLibs/Network/Requests/DataManager.swift
@@ -12,13 +12,14 @@ import Logging
 public protocol HttpResponseFilter
 {
     @available(iOS 15.0.0, *)
-    func handleResponse(request: Request, data: Data?, dataMapper: DataMapper?, sender: Any?) async throws -> Any
+    func handleResponse(request: Request, data: Data, dataMapper: DataMapper?, sender: Any?) async throws -> Any
 }
 
 public protocol HttpSuccessFilter
 {
     @available(iOS 15.0.0, *)
-    func handleResponse(data: Data?, response: HTTPURLResponse, dataMapper: DataMapper?, sender: Any?) async throws -> Any
+
+    func handleResponse(data: Data, response: HTTPURLResponse, dataMapper: DataMapper?, sender: Any?) async throws -> Any
 }
 
 public protocol DataManagerDelegate
diff --git a/AppleLibs/Network/Requests/DataMapper.swift b/AppleLibs/Network/Requests/DataMapper.swift
index d40b684e2fbd75c19567367afa0cf7bafc4a02c7..ca13644e516bb800848f2fad70defaf102e00e6d 100644
--- a/AppleLibs/Network/Requests/DataMapper.swift
+++ b/AppleLibs/Network/Requests/DataMapper.swift
@@ -11,5 +11,5 @@ import Foundation
 public protocol DataMapper
 {
     @available(iOS 15.0.0, *)
-    func mapData(data: Data?, response: URLResponse?, sender: Any?) async throws -> Any
+    func mapData(data: Data, response: HTTPURLResponse, sender: Any?) async throws -> Any
 }