- Mounted fiber and its sub apps error handlers are now saved a new
errorHandlers map in App
- New public App.ErrorHandler method that wraps the logic for which
error handler to user on any given context
- Error handler match logic based on request path <=> prefix accuracy
- Typo fixes
- Tests
* 🔥 add function to overide form decoder setting
🔥 Feature : SetBodyParserDecoder map all option to form decoder, use with BodyParserConfig, BodyParserType
🚨 Test : Test_Ctx_BodyParser_WithSetBodyParserDecoder
* 🔥 Use decoder builder function with default setting on init decoderPool
* ♻️ rename SetBodyParserDecoder to SetParserDecoder
BodyParserType > ParserType
bodyParserConfig > parserConfig
BodyParserConfig > ParserConfig
* Add Test case for QueryParser WithSetParserDecoder
* Update for Test_Ctx_QueryParser_WithSetParserDecoder
* Update Test_Ctx_QueryParser_WithSetParserDecoder remove t.Parallel()
debug unit test - may close this pull request for cleaner commit
* 🧹 Clean Up
* 🔥 add function to overide form decoder setting
🔥 Feature : SetBodyParserDecoder map all option to form decoder, use with BodyParserConfig, BodyParserType
🚨 Test : Test_Ctx_BodyParser_WithSetBodyParserDecoder
* 🔥 Use decoder builder function with default setting on init decoderPool
* ♻️ rename SetBodyParserDecoder to SetParserDecoder
BodyParserType > ParserType
bodyParserConfig > parserConfig
BodyParserConfig > ParserConfig
* 🔥 add function to overide form decoder setting
🔥 Feature : SetBodyParserDecoder map all option to form decoder, use with BodyParserConfig, BodyParserType
🚨 Test : Test_Ctx_BodyParser_WithSetBodyParserDecoder
* 🔥 Use decoder builder function with default setting on init decoderPool
* existing tests clean up
* concurrent test for UserContext Reused
* comment on Ctx.userContext field
* userContext tests edited & fixed, userContext field removed, constant of userContextKey defined
* simplify `u <= (1<<7)-1` to `u < (1 << 7)`
* It's not recommended to use `len` for empty string, we can check with string with ""
* It's not recommended to use `len` for empty string, we can check with string with ""
* It's not recommended to use `len` for empty string, we can check with string with ""
* It's not recommended to use `len` for empty string, we can check with string with ""
* Instead Bool comparison can using simplified bool check if !var = false checking
* Unnecessary use of fmt.Sprintf for value without format
* For check condition two value not required ! method
* nil check may not be enough for slice, better check with len
* function parameters combined
* When the form returns error information, the text content should not start with a capital letter or end with a punctuation mark
* error var invalidPath should have name of the form errFoo, It is recommended that the error variables that are part of an API should be named
* change to condition len(x), it's faster https://github.com/gofiber/fiber/pull/1386#discussion_r652369520
* Update write.go
* Update write_bytes.go
* Update store.go
* Adapted paragraph fiber version compatible with go
* add translated paragraph net/http interfaces limitation
Co-authored-by: RW <rene@gofiber.io>
* Add test run for go1.17
default type for yaml is changed to „application/x-yaml"
-> instead of the yaml´s we use the html and json files for the test