// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.Extensions.Primitives;
namespace Microsoft.AspNet.Http
{
///
/// Represents request and response headers
///
public interface IHeaderDictionary : IDictionary
{
///
/// IHeaderDictionary has a different indexer contract than IDictionary, where it will return StringValues.Empty for missing entries.
///
///
/// The stored value, or StringValues.Empty if the key is not present.
new StringValues this[string key] { get; set; }
}
}