mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-01 14:43:04 +02:00
Update BodyParser logic (#212)
* Update BodyParser logic * update logic for byte[] * small update * MyGetKey * myget * dotnet nuget push * dotnet build * Release * . * StringContent * 1.0.4.18-preview-02 * Debug * 1.0.4.18-preview-02 * disable some proxy tests * myget * packagesToPack * fix * <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType> * Release * <VersionPrefix>1.0.4.18</VersionPrefix> * fix * BodyParserTests * ResponseBodyData (#216) * ResponseBodyData * refactor tests * LogEntryMapperTests
This commit is contained in:
@@ -36,7 +36,7 @@ namespace WireMock.Admin.Requests
|
||||
public string Url { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The absolete URL.
|
||||
/// The absolute URL.
|
||||
/// </summary>
|
||||
public string AbsoluteUrl { get; set; }
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace WireMock.Admin.Requests
|
||||
public IDictionary<string, WireMockList<string>> Headers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tthe Cookies.
|
||||
/// The Cookies.
|
||||
/// </summary>
|
||||
public IDictionary<string, string> Cookies { get; set; }
|
||||
|
||||
@@ -79,5 +79,25 @@ namespace WireMock.Admin.Requests
|
||||
/// The body encoding.
|
||||
/// </summary>
|
||||
public EncodingModel BodyEncoding { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The DetectedBodyType, valid values are:
|
||||
///
|
||||
/// - None
|
||||
/// - String
|
||||
/// - Json
|
||||
/// - Bytes
|
||||
/// </summary>
|
||||
public string DetectedBodyType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The DetectedBodyTypeFromContentType, valid values are:
|
||||
///
|
||||
/// - None
|
||||
/// - String
|
||||
/// - Json
|
||||
/// - Bytes
|
||||
/// </summary>
|
||||
public string DetectedBodyTypeFromContentType { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -58,5 +58,15 @@ namespace WireMock.Admin.Requests
|
||||
/// Gets or sets the body.
|
||||
/// </summary>
|
||||
public EncodingModel BodyEncoding { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The detected body type (detection based on body content).
|
||||
/// </summary>
|
||||
public BodyType DetectedBodyType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The detected body type (detection based on Content-Type).
|
||||
/// </summary>
|
||||
public BodyType DetectedBodyTypeFromContentType { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user