1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 11:57:02 +00:00

implement Problem Details for HTTP APIs #1335

Former-commit-id: ff789b6d535080c88e05c81ab3fb7d9689801ec7
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-08-12 12:05:21 +03:00
parent 5c91440e46
commit 8e83959c61
5 changed files with 364 additions and 21 deletions

View File

@@ -453,7 +453,6 @@ var (
//
// A shortcut of the `cache#Cache304`.
Cache304 = cache.Cache304
// CookiePath is a `CookieOption`.
// Use it to change the cookie's Path field.
//
@@ -499,6 +498,11 @@ var (
//
// A shortcut for the `context#IsErrPath`.
IsErrPath = context.IsErrPath
// NewProblem retruns a new Problem.
// Head over to the `Problem` type godoc for more.
//
// A shortcut for the `context#NewProblem`.
NewProblem = context.NewProblem
)
// Contains the enum values of the `Context.GetReferrer()` method,