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.
  1. c.Append(field, values ...string)
  1. app.Get("/", func(c *fiber.Ctx) {
  2. c.Append("Link", "http://google.com", "http://localhost")
  3. // => Link: http://localhost, http://google.com
  4. c.Append("Link", "Test")
  5. // => Link: http://localhost, http://google.com, Test
  6. })