2017-09-08 05:53:04 +02:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace mvc.Controllers
|
|
|
|
{
|
|
|
|
internal static class Constants
|
|
|
|
{
|
|
|
|
public const string HeaderSeparator = ", ";
|
2017-12-04 18:52:14 +01:00
|
|
|
public const string ApplicationJson = "application/json";
|
2018-01-16 18:23:22 +01:00
|
|
|
public const string LinkUriTemplate = "<{0}?maxlinks={1}&linknumber={2}&type={3}>; rel=\"{4}\"";
|
|
|
|
public const string MalformedUrlLinkHeader = "{url}; foo";
|
|
|
|
public const string NoRelLinkHeader = "<url>; foo=\"bar\"";
|
|
|
|
public const string NoUrlLinkHeader = "<>; rel=\"next\"";
|
|
|
|
|
|
|
|
|
2017-12-04 18:52:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
internal static class StatusCodes
|
|
|
|
{
|
|
|
|
public const Int32 ApplicationError = 500;
|
2017-09-08 05:53:04 +02:00
|
|
|
}
|
|
|
|
}
|