1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-07 20:17:05 +00:00

respect the iris.WithEmptyFormError option on Context.ReadQuery too

as requested at: #1727
This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-02-14 13:40:56 +02:00
parent d26b9bfbed
commit 567c06702f
6 changed files with 28 additions and 7 deletions

View File

@@ -497,7 +497,7 @@ var (
CookieEncoding = context.CookieEncoding
// IsErrPath can be used at `context#ReadForm` and `context#ReadQuery`.
// It reports whether the incoming error is type of `formbinder.ErrPath`,
// It reports whether the incoming error is type of `schema.ErrPath`,
// which can be ignored when server allows unknown post values to be sent by the client.
//
// A shortcut for the `context#IsErrPath`.