16 references to TextPlain
Microsoft.Extensions.Http.Diagnostics.Tests (16)
Logging\HttpResponseBodyReaderTest.cs (16)
43ResponseBodyContentTypes = new HashSet<string> { TextPlain } 50Content = new StringContent(expectedContentBody, Encoding.UTF8, TextPlain) 63ResponseBodyContentTypes = new HashSet<string> { TextPlain } 82ResponseBodyContentTypes = new HashSet<string> { TextPlain } 86Content = new StringContent(string.Empty, Encoding.UTF8, TextPlain) 104ResponseBodyContentTypes = new HashSet<string> { TextPlain } 124ResponseBodyContentTypes = new HashSet<string> { TextPlain } 131Content = new StringContent(input, Encoding.UTF8, TextPlain) 148ResponseBodyContentTypes = new HashSet<string> { TextPlain } 157httpResponse.Content.Headers.Add("Content-Type", TextPlain); 176ResponseBodyContentTypes = new HashSet<string> { TextPlain } 184httpResponse.Content.Headers.Add("Content-Type", TextPlain); 209ResponseBodyContentTypes = new HashSet<string> { TextPlain }, 225httpResponse.Content.Headers.Add("Content-type", TextPlain); 237ResponseBodyContentTypes = new HashSet<string> { TextPlain }, 253httpResponse.Content.Headers.Add("Content-type", TextPlain);