31 references to TextPlain
Microsoft.Extensions.Http.Diagnostics.Tests (31)
Logging\HttpClientLoggerTest.cs (31)
87Content = new StringContent(input, Encoding.UTF8, TextPlain)
125Content = new StringContent(input, Encoding.UTF8, TextPlain)
187Content = new StringContent(requestContent, Encoding.UTF8, TextPlain)
196Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
206ResponseBodyContentTypes = new HashSet<string> { TextPlain },
207RequestBodyContentTypes = new HashSet<string> { TextPlain },
283Content = new StringContent(requestContent, Encoding.UTF8, TextPlain)
290Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
298ResponseBodyContentTypes = new HashSet<string> { TextPlain },
299RequestBodyContentTypes = new HashSet<string> { TextPlain },
388Content = new StringContent(requestContent, Encoding.UTF8, TextPlain)
396Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
405ResponseBodyContentTypes = new HashSet<string> { TextPlain },
406RequestBodyContentTypes = new HashSet<string> { TextPlain },
484Content = new StringContent(requestContent, Encoding.UTF8, TextPlain)
492Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
501ResponseBodyContentTypes = new HashSet<string> { TextPlain },
502RequestBodyContentTypes = new HashSet<string> { TextPlain },
599Content = new StringContent(requestContent, Encoding.UTF8, TextPlain)
606Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
615ResponseBodyContentTypes = new HashSet<string> { TextPlain },
616RequestBodyContentTypes = new HashSet<string> { TextPlain },
691Content = new StringContent(_fixture.Create<string>(), Encoding.UTF8, TextPlain)
734Content = new StringContent(_fixture.Create<string>(), Encoding.UTF8, TextPlain)
772Content = new StringContent(_fixture.Create<string>(), Encoding.UTF8, TextPlain)
816Content = new StringContent(_fixture.Create<string>(), Encoding.UTF8, TextPlain)
860requestContent.Headers.Add("Content-Type", TextPlain);
871responseContent.Headers.Add("Content-Type", TextPlain);
885ResponseBodyContentTypes = new HashSet<string> { TextPlain },
886RequestBodyContentTypes = new HashSet<string> { TextPlain },
961Content = new StringContent("request_content", Encoding.UTF8, TextPlain)