Indra Aryadi
Indra Aryadi
What caused the error to occur was because the async def get_json() in AppResponse should have been changed to Maybe it will be fixed soon so there are no memory...
If you use "Res.Write_Header ()" you are like overwriting the header, so it becomes 2 headers, the other header is run using uwebsocket in the source native.py file that connects...
wow, that's amazing bro, you must check the uwebsockets code one by one
app.Get("/", func(c *fiber.Ctx) error { time.Sleep(time.Second * 10) // Use context.Background() instead of c.Context() user, err := getUser(context.Background()) if err != nil { return err } return c.JSON(user) })