Skip to content

Commit 5e8cfe9

Browse files
committed
Add obsolete ResponseMimeType alias for ResponseContentType
A new property `ResponseContentType` has been added to the `ApiCallDetails` class. This reintroduces the original `ResponseMimeType` property marked as obsolete and serves as a temporary alias for the existing `ResponseContentType` property.
1 parent deef2ea commit 5e8cfe9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Elastic.Transport/Responses/HttpDetails/ApiCallDetails.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,17 @@ public string DebugInformation
8282
/// </summary>
8383
public byte[]? ResponseBodyInBytes { get; internal set; }
8484

85+
/// <summary>
86+
/// The value of the Content-Type header in the response.
87+
/// </summary>
88+
[Obsolete("This property has been retired and replaced by ResponseContentType. " +
89+
"Prefer using the updated property as this will be removed in a future release.")]
90+
public string ResponseMimeType
91+
{
92+
get => ResponseContentType;
93+
set => ResponseContentType = value;
94+
}
95+
8596
/// <summary>
8697
/// The value of the Content-Type header in the response.
8798
/// </summary>

0 commit comments

Comments
 (0)