iris
iris copied to clipboard
The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
ReadJSON and ReadJSONStream do not check the value of “DisableBodyConsumptionOnUnmarshal”, so that once called, subsequent handlers cannot read the request body again, such as log handlers
- Fires 404 HTTP Code when use gRPC strict mode
**Describe the bug** Iris runs on 172.28.4.51, access from other machines will prompt “net/http: invalid Cookie.Domain "4.51"; dropping domain attribute”. The GetDomain parsing error can be located by debugging, and...
**Is your feature request related to a problem? Please describe.** We need a clientCertificate authentication for our API, sure we can create our own listener, but I would love to...
**Describe the bug** DisableBodyConsumptionOnUnmarshal not effective **To Reproduce** _ = irisApp.Run(iris.Addr("0.0.0.0:8080"), iris.WithPathEscape, iris.WithOptimizations, iris.WithoutInterruptHandler, iris.WithoutBodyConsumptionOnUnmarshal) **Expected behavior** fix it **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop...
Hey. I realized something today. Consider this example: I put {{ .csrfField }} in the template and CSRF middleware verifies it Processing the request: type LoginUser struct { Username string...
**Describe the bug** When using securecookie for session it fails sometime because plain (decoded) cookie value is passed to decode function. securecookie decode fails with "securecookie: the value is not...
Describe the issue you are facing or ask for help ``` app := iris.New().Configure(iris.WithLowercaseRouting) // Serve our front-end and its assets. app.HandleDir("/", iris.Dir("./app/public"), iris.DirOptions{ SPA: true, IndexName: "index.html", }) sess...
When I use ` app.HandleDir("/static", iris.Dir("./static")) ` to create a static server. Access " http://xxx/static/doc/index.html " will redirect to "http://xxx/static/doc", the "http://xxx/static/doc" path be identified as a file not a...
my url == http://127.0.0.1:8879/test?cmd=2330,0; func main() { appIris := iris.New() appIris.Get("/test", func(ctx iris.Context) { testParam(ctx) }) appIris.Run(iris.Addr(8879) /* 0.*/, iris.WithPostMaxMemory(maxSize)) } func testParam(ctx iris.Context) { fmt.Println("testParam : ", ctx.Request().URL.RawQuery) }...