File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,13 @@ public static class ContentType
34
34
/// <summary>Portable Network Graphics; Registered,[8] Defined in RFC 2083.</summary>
35
35
public const string Png = "image/png" ;
36
36
37
- /// <summary>REST'ful JavaScript Object Notation JSON; Defined at http://restfuljson.org/.</summary>
37
+ /// <summary>Problem Details JavaScript Object Notation (JSON); Defined at https://tools.ietf.org/html/rfc7807.</summary>
38
+ public const string ProblemJson = "application/problem+json" ;
39
+
40
+ /// <summary>Problem Details Extensible Markup Language (XML); Defined at https://tools.ietf.org/html/rfc7807.</summary>
41
+ public const string ProblemXml = "application/problem+xml" ;
42
+
43
+ /// <summary>REST'ful JavaScript Object Notation (JSON); Defined at http://restfuljson.org/.</summary>
38
44
public const string RestfulJson = "application/vnd.restful+json" ;
39
45
40
46
/// <summary>Rich Site Summary; Defined by Harvard Law.</summary>
You can’t perform that action at this time.
0 commit comments