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:
6
iris.go
6
iris.go
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user