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

2878 Commits

Author SHA1 Message Date
Joey
0f18e0f1b0
Merge pull request #1194 from gofiber/csrf-mw-restructuring
CSRF MW Restructuring
2021-03-09 15:32:16 +01:00
Joey
d48a9b3cb3
Merge pull request #1177 from kiyonlin/client
🔥 Implement Fiber http Client
2021-03-09 15:29:50 +01:00
hi019
13f0d5bb61 Remove global variable 2021-03-09 09:29:47 -05:00
Joey
789bf389f6
Merge pull request #1210 from gregchalmers/master
🔥 adds and additional line to starting banner "bound: http://0.0.0.0:8080"
2021-03-09 15:28:03 +01:00
gregchalmers
0da74f62f3 bound made msg clearer 2021-03-09 02:46:28 -08:00
gregchalmers
f25c667a8a refactor for repeated code 2021-03-09 00:35:51 -08:00
gregchalmers
c09f9a675f swapped bound & link 2021-03-08 23:18:17 -08:00
gregchalmers
3d5123671c %v -> %s 2021-03-08 23:09:52 -08:00
gregchalmers
25c5e4c264 fixed host=="" to "0.0.0.0" from "127.0.0.1" 2021-03-08 22:51:19 -08:00
gregchalmers
cc262daae3 nice to have #1207 PR 2021-03-09 17:14:52 +13:00
Vic Shóstak
aee004f3e1
Merge pull request #1206 from koddr/master
Update code snippets for RU language
2021-03-07 22:35:55 +03:00
Vic Shóstak
aa044d090b
Update code snippets 2021-03-07 22:20:14 +03:00
wowpoppy
8e47ccd9ed
✏️ Remove unused path parameter in README example (#1201)
* ✏️ Remove unused path parameter in example

* Update translations
2021-03-05 11:18:21 +01:00
iRedMail
a179c6665c
✏️ FS MW: add example of embedding directory (#1197)
Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
2021-03-02 12:12:40 -05:00
hi019
983919fd18
CSRF Docs - Add note about how to get token (#1196) 2021-03-01 20:32:22 -05:00
hi019
b31953ab8d Revert "Remove global variable"
This reverts commit 2d4d2f7c
2021-03-01 16:38:56 -05:00
hi019
2d4d2f7c47 Remove global variable 2021-03-01 16:30:04 -05:00
hi019
86e43593cd CSRF MW Restructuring 2021-03-01 16:25:32 -05:00
Jason McNeil
53e5dc523e
🩹 Fix: CSRF middleware cookie<>storage bug squashed and other improvements (#1180)
* expire cookie on Post, Delete, Patch and Put

Cookie should always expire on Post, Delete, Patch and Put as it is either valid and will be removed from storage, or is not in storage and invalid

* token and cookie match

* retrigger checks

* csrf tests

* csrf per session strategy
2021-03-01 17:44:17 +01:00
tianjipeng
59b12fbcb2
fix: lookup cookie in response header (#1191) 2021-03-01 17:25:36 +01:00
Baran Demirbaş
bbd101d70d
✏️ Fix typos and translate some sentences English to Turkish (#1192) 2021-02-27 20:15:15 -05:00
kiyon
5675716832
Merge pull request #1189 from dechristopher/master
🔥 Add optional FileSystem config to middleware/favicon
2021-02-26 13:09:57 +08:00
Kiyon
6ea71e9464 🍺 Cleanup 2021-02-26 10:48:53 +08:00
kiyon
57cfb507aa
Merge pull request #1186 from kiyonlin/fix-listener
👷 Fix hardcode tls to startupMessage in app.Listener
2021-02-25 20:05:25 +08:00
Kiyon
09ff81716c 👷 Add beta warning 2021-02-25 10:41:39 +08:00
Andrew DeChristopher
13c4245242 🔥 Fix favicon filesystem tests
This change exists to support go 1.16 embedded filesystems and other network filesystems that can't simply be read as a file from a system path.
2021-02-24 12:27:32 -05:00
Andrew DeChristopher
6a5698277c 🔥 Add optional FileSystem config to favicon middleware
This change exists to support go 1.16 embedded filesystems and other network filesystems that can't simply be read as a file from a system path.
2021-02-24 11:42:54 -05:00
Kiyon
b46185e1b0 👷 Fix hardcode tls to startupMessage in app.Listener 2021-02-23 16:40:17 +08:00
kiyon
0d8fa6bf63
Merge pull request #1187 from kiyonlin/improve-proxy-test
👷 Improve proxy middleware test case
2021-02-23 16:28:14 +08:00
Kiyon
1a67fdb343 👷 Improve proxy middleware test case
- add t.Parallel()
- use random port
2021-02-23 15:32:27 +08:00
Kiyon
9bcfb5109d 👷 Improve test case 2021-02-22 14:48:00 +08:00
Kiyon
f9d1074635 👷 Should not force Agent.dest to Agent.dest[:0] 2021-02-22 14:37:31 +08:00
Kiyon
2772af030e 👷 handle pre errors for Struct 2021-02-22 10:06:38 +08:00
Kiyon
1fddaed072 👷 Add Dest for reusing returned body bytes 2021-02-22 09:47:47 +08:00
Kiyon
b5402e0f38 👷 Add SetResponse to set custom response for full control of response 2021-02-22 09:13:24 +08:00
Kiyon
169001c2e1 👷 fix golint 2021-02-22 08:47:19 +08:00
Kiyon
bc9651d58b 👷 Remove custom request and export agent request 2021-02-22 08:38:54 +08:00
Kiyon
a2eab0d754 👷 Improve documentation 2021-02-22 08:19:44 +08:00
Kiyon
c34ca83c06 👷 Add JSONEncoder and JSONDecoder 2021-02-20 16:45:13 +08:00
Kiyon
c477128e5b 👷 Improve test coverage 2021-02-20 16:12:06 +08:00
Kiyon
62d311133b 👷 Add Bytes functions 2021-02-20 15:46:41 +08:00
Kiyon
a60d23343c 👷 Improve test cases 2021-02-20 14:56:47 +08:00
Kiyon
040ab0e101 👷 Improve test cases 2021-02-20 14:50:37 +08:00
Kiyon
645e011813 👷 Add HEAD PUT PATCH DELETE 2021-02-20 14:50:20 +08:00
Kiyon
7c5fac67cf 👷 Improve doc 2021-02-20 14:31:48 +08:00
Kiyon
5093eb8e27 👷 Fix G304 and allow G402 2021-02-20 14:31:17 +08:00
Kiyon
f4307905a4 👷 Add MultipartForm 2021-02-19 17:21:59 +08:00
Kiyon
5af0d42e7b 👷 Add XML 2021-02-19 10:03:51 +08:00
Kiyon
20104ba10f 👷 Add BasicAuth 2021-02-19 09:53:51 +08:00
Kiyon
6cc4a5ec04 🍀 Cleanup 2021-02-19 09:01:54 +08:00