1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-23 00:03:43 +00:00

119 Commits

Author SHA1 Message Date
kiyon
9cac73e7ba 👷 fix Security / Gosec, handle f.Close error 2020-07-29 11:29:27 +08:00
kiyon
7863cd1458 👷 add ctx.Render test cases 2020-07-29 11:07:47 +08:00
kiyon
3779723507 👷 add app.Test test cases 2020-07-29 09:14:15 +08:00
kiyon
1ee7f62c35 ✈️ improve isNoCache a little bit 2020-07-28 12:03:52 +08:00
Fenny
87127f571a 🧹 Remove deprecated Templates 2020-07-28 04:36:56 +02:00
fenny
d06256c944
Merge pull request #675 from larrylv/larrylv/improve_no_cache_header_matching
🚀 Don't use regexp for no-cache value check
2020-07-27 04:43:19 +02:00
Larry Lv
931df73503
lint 2020-07-26 19:03:45 -07:00
Larry Lv
b310f0f501
🧹 Don't allocate string slice in isEtagStale 2020-07-26 18:55:57 -07:00
Larry Lv
fc85699a95
🧹 Refactor etag stale checking 2020-07-26 18:53:26 -07:00
Larry Lv
fd75ef0fbe
🚀 Don't use regexp for no-cache value check 2020-07-25 22:35:43 -07:00
ReneWerner87
b34a77bc96 💉 Sync route method metadata
Co-authored-by: Fenny <fenny@gofiber.io>
2020-07-21 23:30:52 +02:00
fenny
8605857678
🚀 refactor: improve logic method BodyParser
🚀 refactor: improve logic method BodyParser
2020-07-14 22:55:20 -04:00
renanbastos93
d61e478578 🚀 refactor: improve logic method BodyParser 2020-07-14 12:18:44 -03:00
Fenny
0a3eb08530 Merge remote-tracking branch 'upstream/master' 2020-07-14 14:35:26 +02:00
ReneWerner87
fa9128b7d6 🐞 prevent duplicates in ctx.Append for similar wording of the value 2020-07-14 12:21:55 +02:00
renanbastos93
e070968d2d 🚀 refactor: change status code number to constant 2020-07-14 00:55:41 -03:00
Fenny
20cba2604b 🔌 Add IPv6 support
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 03:53:58 +02:00
Fenny
b8fbaca1ea 🔌 Add IPv6 Support
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 03:02:26 +02:00
kiyon
b7b14bcbc3 🍞 adjust import 3rd package location 2020-07-13 14:01:11 +08:00
kiyon
9d9cfa8424 🚨 extract func quoteString() for ctx.Attachment and ctx.Download 2020-07-13 12:37:50 +08:00
kiyon
2cfc1b1546 👷 Extract "USE" to a global const variable 2020-07-12 23:54:22 +08:00
Fenny
94fa10c85b 🐛 Fix typo 2020-07-10 14:15:41 +02:00
Fenny
3484897184 🐛 Avoid method override on 405 2020-07-10 13:57:53 +02:00
kiyon
ce3d44613c 🔧 fix #556 remove ctx.matched things 2020-07-07 23:25:02 +08:00
Fenny
a21897d0de 🔨 Define return Addr in Test 2020-07-05 11:09:01 +02:00
Fenny
5250a33879 Add defaultvalue 2020-07-04 10:11:23 +02:00
ReneWerner87
d57651835b improve routing performance 2020-06-29 22:51:41 +02:00
Fenny
578e566475 Add 405 Support 2020-06-21 12:17:22 +02:00
Fenny
4102262dd7 Add benchmark 2020-06-21 11:11:45 +02:00
Fenny
8db7e169a3 Update utils.go 2020-06-21 11:04:46 +02:00
Fenny
ef264df776 Update utils.go 2020-06-21 11:03:17 +02:00
Fenny
3568613dfa Update 405 Tests 2020-06-21 11:02:17 +02:00
Fenny
09116ae22b Add 405 Support 2020-06-21 10:47:03 +02:00
Fenny
44d739496d Add 405 Method Not Allowed 2020-06-20 17:26:48 +02:00
wernerr
e674d679df move path matching and registration in separate file "path.go" 2020-06-14 12:37:09 +02:00
wernerr
f816c6706f add support for -. chars in the route 2020-06-14 12:06:14 +02:00
wernerr
bbcff3f375 add support for -. chars in the route 2020-06-13 18:34:31 +02:00
wernerr
0a615653cb add support for -. chars in the route 2020-06-13 18:18:25 +02:00
wernerr
91a5185307 add support for -. chars in the route 2020-06-13 16:54:38 +02:00
wernerr
3e6261b7c4 add support for -_. chars in the route 2020-06-12 16:06:12 +02:00
wernerr
f4292c9030 add support for -_. chars in the route 2020-06-12 13:29:16 +02:00
Fenny
5d649f7270 🚚 Add Errors 2020-06-06 18:53:51 +02:00
Fenny
cd9aa0f9c5 ⌨️ Fix typo 2020-06-06 07:30:30 +02:00
Fenny
027823e084 Return 404 if Next does not match 2020-06-01 13:45:04 +02:00
ReneWerner87
b81126d3d7 Reduce pre allocated memory, fix Etag benchmark, cleanup unused stuff 2020-05-23 14:56:52 +02:00
Fenny
7747f73614 Remove un-used map
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:53:20 +02:00
Fenny
63cfbf4bc2 Replace utils with gofiber/utils
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:30:21 +02:00
Fenny
9bf2a618e9 Add toLower, toUpper & trimRight 2020-05-16 05:13:01 +02:00
Fenny
e0b13d9ca4
Update test & benchmark (#374)
Co-Authored-By: RW <renewerner87@googlemail.com>

* Add nosec for WriteByte

* test persistens for benchmark results

* Add tests & benchmark

* Update app_test.go

* Update benchmark.yml
2020-05-13 20:21:49 +02:00
Fenny
b8228e4546 Golint code 2020-05-12 23:24:04 +02:00