fiber/docs/api
Jason McNeil 0f5ffed3cc
🐛fix: update getOffer to consider quality and specificity (#2486)
* feat: getOffer consider q value and specificity

* fix: ignore q=0

* fix: float

* test: client-prefered order and q=0 not acceptable

* fix: always use my insertion sort.

* fix: sort.SliceStable if > 20

* fix: zero allocations

* perf: optimize the sort

* chore: fix lint issue

* fix: consider order

* chore: fix test func name

* chore: fix helper test func name

* chore: revert fix

* perf: use fasthttp.ParseUfloat

* test: GetOffer and SortAcceptedTypes

* chore: remote nil check

* test: sortAcceptedTypes

* fix: use utils.UnsafeBytes

* docs: update docs for fiber PR #2486

* docs: update docs for fiber PR #2486

* test: add test from docs

* fix: yaml
2023-06-07 17:51:45 +02:00
..
middleware 🚀 Add DisableColors to set the default output format (#2493) 2023-06-05 13:20:45 +02:00
_category_.json 📝 docs: automated synchronization with `gofiber/docs` (#2344) 2023-02-25 10:29:07 +01:00
app.md 🚀 Feature: Public ShutdownWithContext (#2407) 2023-04-09 21:08:03 +08:00
client.md 📝 docs: automated synchronization with `gofiber/docs` (#2344) 2023-02-25 10:29:07 +01:00
constants.md 📝 docs: automated synchronization with `gofiber/docs` (#2344) 2023-02-25 10:29:07 +01:00
ctx.md 🐛fix: update getOffer to consider quality and specificity (#2486) 2023-06-07 17:51:45 +02:00
fiber.md docs: added code link to fiber config fields (#2385) 2023-04-04 11:12:53 +02:00