Append
Appends the specified value to the HTTP response header field.
If the header is not already set, it creates the header with the specified value.
- c.Append(field, values ...string)
- app.Get("/", func(c *fiber.Ctx) {
- c.Append("Link", "http://google.com", "http://localhost")
- // => Link: http://localhost, http://google.com
- c.Append("Link", "Test")
- // => Link: http://localhost, http://google.com, Test
- })