2020-03-24 19:08:37 +01:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
2018-02-13 18:23:53 +01:00
|
|
|
// Licensed under the MIT License.
|
2020-09-02 05:15:16 +02:00
|
|
|
|
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-07-24 07:56:00 +02:00
|
|
|
public const string LinkUriTemplate = "<{0}?maxlinks={1}&linknumber={2}&type={3}>;{4}rel=\"{5}\"";
|
2018-01-16 18:23:22 +01:00
|
|
|
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
|
|
|
}
|
2017-09-08 05:53:04 +02:00
|
|
|
}
|