summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/HttpRequestHeaders.cs
blob: dad6bf61ef9da89831811edfda381de280abc316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//-----------------------------------------------------------------------
// <copyright file="HttpRequestHeaders.cs" company="Andrew Arnott">
//     Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.Messaging {
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;

	/// <summary>
	/// Well known HTTP headers.
	/// </summary>
	internal static class HttpRequestHeaders {
		/// <summary>
		/// The Authorization header, which specifies the credentials that the client presents in order to authenticate itself to the server.
		/// </summary>
		internal const string Authorization = "Authorization";

		/// <summary>
		/// The WWW-Authenticate header, which is included in HTTP 401 Unauthorized responses to help the client know which authorization schemes are supported.
		/// </summary>
		internal const string WwwAuthenticate = "WWW-Authenticate";

		/// <summary>
		/// The Content-Type header, which specifies the MIME type of the accompanying body data.
		/// </summary>
		internal const string ContentType = "Content-Type";
	}
}