diff --git a/MockDuck/Sources/MockRequestResponse.swift b/MockDuck/Sources/MockRequestResponse.swift index 5b07477..0b9a699 100644 --- a/MockDuck/Sources/MockRequestResponse.swift +++ b/MockDuck/Sources/MockRequestResponse.swift @@ -107,6 +107,10 @@ final class MockRequestResponse: Codable, CustomDebugStringConvertible { hashData.append(body) } + if let bodyData = normalizedRequest.httpBodyStreamData { + hashData.append(bodyData) + } + if !hashData.isEmpty { return String(CryptoUtils.md5(hashData).prefix(8)) } else {