31 references to ParseAdd
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerPostConfigureOptions.cs (1)
55options.Backchannel.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft ASP.NET Core JwtBearer handler");
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthPostConfigureOptions.cs (1)
39options.Backchannel.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft ASP.NET Core OAuth handler");
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectPostConfigureOptions.cs (1)
71options.Backchannel.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft ASP.NET Core OpenIdConnect handler");
Microsoft.AspNetCore.Authentication.Twitter (2)
TwitterPostConfigureOptions.cs (2)
51options.Backchannel.DefaultRequestHeaders.Accept.ParseAdd("*/*"); 52options.Backchannel.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft ASP.NET Core Twitter handler");
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationPostConfigureOptions.cs (1)
66options.Backchannel.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft ASP.NET Core WsFederation handler");
Microsoft.AspNetCore.Localization.Tests (4)
AcceptLanguageHeaderRequestCultureProviderTest.cs (4)
49client.DefaultRequestHeaders.AcceptLanguage.ParseAdd("jp,ar-SA,en-US"); 90client.DefaultRequestHeaders.AcceptLanguage.ParseAdd("en-GB,ar-SA,en-US"); 130client.DefaultRequestHeaders.AcceptLanguage.ParseAdd("en-GB,ar-MA,en-US"); 176client.DefaultRequestHeaders.AcceptLanguage.ParseAdd("en-GB,ar-YE,en-US");
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
ContentNegotiationTest.cs (1)
368request.Headers.Accept.ParseAdd(acceptMediaType);
RespectBrowserAcceptHeaderTests.cs (2)
44request.Headers.Accept.ParseAdd("text/html, application/json, image/jpeg, */*; q=.2"); 63request.Headers.Accept.ParseAdd("text/plain; charset=utf-8");
Microsoft.AspNetCore.ResponseCompression.Tests (16)
ResponseCompressionMiddlewareTest.cs (16)
178request.Headers.AcceptEncoding.ParseAdd("gzip"); 336request.Headers.AcceptEncoding.ParseAdd("gzip"); 475request.Headers.AcceptEncoding.ParseAdd("gzip"); 538request.Headers.AcceptEncoding.ParseAdd("gzip"); 601request.Headers.AcceptEncoding.ParseAdd("gzip"); 654request.Headers.AcceptEncoding.ParseAdd(encoding); 699request.Headers.AcceptEncoding.ParseAdd(encoding); 751request.Headers.AcceptEncoding.ParseAdd(encoding); 804request.Headers.AcceptEncoding.ParseAdd(encoding); 874request.Headers.AcceptEncoding.ParseAdd(encoding); 938request.Headers.AcceptEncoding.ParseAdd(encoding); 1002request.Headers.AcceptEncoding.ParseAdd(encoding); 1063request.Headers.AcceptEncoding.ParseAdd("gzip"); 1113request.Headers.AcceptEncoding.ParseAdd("gzip"); 1163request.Headers.AcceptEncoding.ParseAdd("gzip"); 1213request.Headers.AcceptEncoding.ParseAdd(encoding);
ServerComparison.FunctionalTests (2)
ResponseCompressionTests.cs (2)
168request.Headers.AcceptEncoding.ParseAdd("gzip,deflate"); 200request.Headers.AcceptEncoding.ParseAdd("gzip,deflate");