16 references to AddHeader
Aspire.Azure.Security.KeyVault.Tests (16)
AspireKeyVaultExtensionsTests.cs (15)
156response.AddHeader(new HttpHeader("Cache-Control", "no-cache"));
157response.AddHeader(new HttpHeader("Content-Length", buffer.Length.ToString(CultureInfo.InvariantCulture)));
158response.AddHeader(new HttpHeader("Content-Type", "application/json; charset=utf-8"));
159response.AddHeader(new HttpHeader("Date", DateTimeOffset.UtcNow.ToString("r", CultureInfo.InvariantCulture)));
160response.AddHeader(new HttpHeader("Expires", "-1"));
161response.AddHeader(new HttpHeader("Pragma", "no-cache"));
162response.AddHeader(new HttpHeader("Server", "Microsoft-IIS/10.0"));
163response.AddHeader(new HttpHeader("Strict-Transport-Security", "max-age=31536000;includeSubDomains"));
164response.AddHeader(new HttpHeader("X-AspNet-Version", "4.0.30319"));
165response.AddHeader(new HttpHeader("X-Content-Type-Options", "nosniff"));
166response.AddHeader(new HttpHeader("x-ms-keyvault-network-info", "addr=122.117.106.78;act_addr_fam=InterNetwork;"));
167response.AddHeader(new HttpHeader("x-ms-keyvault-region", "westus"));
168response.AddHeader(new HttpHeader("x-ms-keyvault-service-version", "1.1.0.875"));
169response.AddHeader(new HttpHeader("x-ms-request-id", response.ClientRequestId));
170response.AddHeader(new HttpHeader("X-Powered-By", "ASP.NET"));