diff --git a/src/Elastic.Transport/Responses/Special/StreamResponse.cs b/src/Elastic.Transport/Responses/Special/StreamResponse.cs index 5781f53..53dd22a 100644 --- a/src/Elastic.Transport/Responses/Special/StreamResponse.cs +++ b/src/Elastic.Transport/Responses/Special/StreamResponse.cs @@ -24,6 +24,13 @@ public sealed class StreamResponse : /// public string MimeType { get; } + /// + public StreamResponse() + { + Body = Stream.Null; + MimeType = string.Empty; + } + /// public StreamResponse(Stream body, string? mimeType) {