< Summary

Class:Azure.Core.Http.Multipart.HeaderNames
Assembly:Azure.Storage.Blobs.Batch
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.Batch\src\Shared\HeaderNames.cs
Covered lines:0
Uncovered lines:81
Coverable lines:81
Total lines:95
Line coverage:0% (0 of 81)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.cctor()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.Batch\src\Shared\HeaderNames.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// Copied from https://github.com/aspnet/AspNetCore/tree/master/src/Http/Headers/src
 5
 6#pragma warning disable CA1802 // Mark field as const
 7
 8namespace Azure.Core.Http.Multipart
 9{
 10    internal static class HeaderNames
 11    {
 12        // Use readonly statics rather than constants so ReferenceEquals works
 013        public static readonly string Accept = "Accept";
 014        public static readonly string AcceptCharset = "Accept-Charset";
 015        public static readonly string AcceptEncoding = "Accept-Encoding";
 016        public static readonly string AcceptLanguage = "Accept-Language";
 017        public static readonly string AcceptRanges = "Accept-Ranges";
 018        public static readonly string AccessControlAllowCredentials = "Access-Control-Allow-Credentials";
 019        public static readonly string AccessControlAllowHeaders = "Access-Control-Allow-Headers";
 020        public static readonly string AccessControlAllowMethods = "Access-Control-Allow-Methods";
 021        public static readonly string AccessControlAllowOrigin = "Access-Control-Allow-Origin";
 022        public static readonly string AccessControlExposeHeaders = "Access-Control-Expose-Headers";
 023        public static readonly string AccessControlMaxAge = "Access-Control-Max-Age";
 024        public static readonly string AccessControlRequestHeaders = "Access-Control-Request-Headers";
 025        public static readonly string AccessControlRequestMethod = "Access-Control-Request-Method";
 026        public static readonly string Age = "Age";
 027        public static readonly string Allow = "Allow";
 028        public static readonly string Authority = ":authority";
 029        public static readonly string Authorization = "Authorization";
 030        public static readonly string CacheControl = "Cache-Control";
 031        public static readonly string Connection = "Connection";
 032        public static readonly string ContentDisposition = "Content-Disposition";
 033        public static readonly string ContentEncoding = "Content-Encoding";
 034        public static readonly string ContentLanguage = "Content-Language";
 035        public static readonly string ContentLength = "Content-Length";
 036        public static readonly string ContentLocation = "Content-Location";
 037        public static readonly string ContentMD5 = "Content-MD5";
 038        public static readonly string ContentRange = "Content-Range";
 039        public static readonly string ContentSecurityPolicy = "Content-Security-Policy";
 040        public static readonly string ContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only";
 041        public static readonly string ContentType = "Content-Type";
 042        public static readonly string CorrelationContext = "Correlation-Context";
 043        public static readonly string Cookie = "Cookie";
 044        public static readonly string Date = "Date";
 045        public static readonly string DNT = "DNT";
 046        public static readonly string ETag = "ETag";
 047        public static readonly string Expires = "Expires";
 048        public static readonly string Expect = "Expect";
 049        public static readonly string From = "From";
 050        public static readonly string Host = "Host";
 051        public static readonly string KeepAlive = "Keep-Alive";
 052        public static readonly string IfMatch = "If-Match";
 053        public static readonly string IfModifiedSince = "If-Modified-Since";
 054        public static readonly string IfNoneMatch = "If-None-Match";
 055        public static readonly string IfRange = "If-Range";
 056        public static readonly string IfUnmodifiedSince = "If-Unmodified-Since";
 057        public static readonly string LastModified = "Last-Modified";
 058        public static readonly string Location = "Location";
 059        public static readonly string MaxForwards = "Max-Forwards";
 060        public static readonly string Method = ":method";
 061        public static readonly string Origin = "Origin";
 062        public static readonly string Path = ":path";
 063        public static readonly string Pragma = "Pragma";
 064        public static readonly string ProxyAuthenticate = "Proxy-Authenticate";
 065        public static readonly string ProxyAuthorization = "Proxy-Authorization";
 066        public static readonly string Range = "Range";
 067        public static readonly string Referer = "Referer";
 068        public static readonly string RetryAfter = "Retry-After";
 069        public static readonly string RequestId = "Request-Id";
 070        public static readonly string Scheme = ":scheme";
 071        public static readonly string SecWebSocketAccept = "Sec-WebSocket-Accept";
 072        public static readonly string SecWebSocketKey = "Sec-WebSocket-Key";
 073        public static readonly string SecWebSocketProtocol = "Sec-WebSocket-Protocol";
 074        public static readonly string SecWebSocketVersion = "Sec-WebSocket-Version";
 075        public static readonly string Server = "Server";
 076        public static readonly string SetCookie = "Set-Cookie";
 077        public static readonly string Status = ":status";
 078        public static readonly string StrictTransportSecurity = "Strict-Transport-Security";
 079        public static readonly string TE = "TE";
 080        public static readonly string Trailer = "Trailer";
 081        public static readonly string TransferEncoding = "Transfer-Encoding";
 082        public static readonly string Translate = "Translate";
 083        public static readonly string TraceParent = "traceparent";
 084        public static readonly string TraceState = "tracestate";
 085        public static readonly string Upgrade = "Upgrade";
 086        public static readonly string UpgradeInsecureRequests = "Upgrade-Insecure-Requests";
 087        public static readonly string UserAgent = "User-Agent";
 088        public static readonly string Vary = "Vary";
 089        public static readonly string Via = "Via";
 090        public static readonly string Warning = "Warning";
 091        public static readonly string WebSocketSubProtocols = "Sec-WebSocket-Protocol";
 092        public static readonly string WWWAuthenticate = "WWW-Authenticate";
 093        public static readonly string XFrameOptions = "X-Frame-Options";
 94    }
 95}

Methods/Properties

.cctor()