mirror of https://github.com/gofiber/fiber.git
fix typo (#1442)
paramters -> parameters avilable -> available seperated -> separatedpull/1444/head
parent
dd45be693a
commit
f5338266e3
2
app.go
2
app.go
|
@ -147,7 +147,7 @@ type Config struct {
|
|||
// When set to true, converts all encoded characters in the route back
|
||||
// before setting the path for the context, so that the routing,
|
||||
// the returning of the current url from the context `ctx.Path()`
|
||||
// and the paramters `ctx.Params(%key%)` with decoded characters will work
|
||||
// and the parameters `ctx.Params(%key%)` with decoded characters will work
|
||||
//
|
||||
// Default: false
|
||||
UnescapePath bool `json:"unescape_path"`
|
||||
|
|
|
@ -76,7 +76,7 @@ func isCygwinPipeName(name string) bool {
|
|||
}
|
||||
|
||||
// getFileNameByHandle use the undocomented ntdll NtQueryObject to get file full name from file handler
|
||||
// since GetFileInformationByHandleEx is not avilable under windows Vista and still some old fashion
|
||||
// since GetFileInformationByHandleEx is not available under windows Vista and still some old fashion
|
||||
// guys are using Windows XP, this is a workaround for those guys, it will also work on system from
|
||||
// Windows vista to 10
|
||||
// see https://stackoverflow.com/a/18792477 for details
|
||||
|
|
|
@ -127,7 +127,7 @@ func New(config ...Config) fiber.Handler {
|
|||
e.cencoding = utils.CopyBytes(c.Response().Header.Peek(fiber.HeaderContentEncoding))
|
||||
e.exp = ts + expiration
|
||||
|
||||
// For external Storage we store raw body seperated
|
||||
// For external Storage we store raw body separated
|
||||
if cfg.Storage != nil {
|
||||
manager.setRaw(key+"_body", e.body, cfg.Expiration)
|
||||
// avoid body msgp encoding
|
||||
|
|
Loading…
Reference in New Issue