This commit is contained in:
Fenny 2020-01-28 15:02:16 -05:00
parent 9ff149324e
commit a146f71f01

View File

@ -15,7 +15,7 @@ app.Get("/", func(c *fiber.Ctx) {
// Accept: text/*, application/json
c.Accepts("html")
// => true
// => "html"
c.Accepts("text/html")
//=> "text/html"
c.Accepts("json", "text")