SetSetSets the response’s HTTP header field to the specified key, value. c.Set(field, value string) app.Get("/", func(c *fiber.Ctx) { c.Set("Content-Type", "text/plain") // => "Content-type: text/plain"})