We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d7f9d commit fe10228Copy full SHA for fe10228
context.md
@@ -31,7 +31,7 @@ c.AcceptsLanguages(langs ...string) string
31
app.Get("/", func(c *fiber.Ctx) {
32
c.Accepts("html") // "html"
33
c.Accepts("text/html") // "text/html"
34
- c.Accepts("json", "text") // "json" "text"
+ c.Accepts("json", "text") // "json"
35
c.Accepts("application/json") // "application/json"
36
c.Accepts("image/png") // ""
37
c.Accepts("png") // ""
@@ -54,7 +54,7 @@ app.Get("/", func(c *fiber.Ctx) {
54
// "compress"
55
56
c.AcceptsLanguages("pt", "nl", "ru")
57
- // "nl" "ru"
+ // "nl"
58
})
59
```
60
0 commit comments