Commit Graph

14 Commits (263e426ae171e09534a9cbd16d5b2e10187ecc3e)

Author SHA1 Message Date
chenquan 263e426ae1
chore: optimize `ParseJsonBody` (#1353)
* chore: optimize `ParseJsonBody`

* chore: optimize `ParseJsonBody`

* fix: fix a test

* chore: optimize `ParseJsonBody`

* fix a test

* chore: add comment
3 years ago
Kevin Wan fc04ad7854
export pathvar for user-defined routers (#911)
* refactor

* export pathvar for user-defined routers
3 years ago
Kevin Wan 54d57c7d4b
refactor rest code (#895) 3 years ago
voidint 28a7c9d38f
fix http header binding failure bug #885 (#887) 3 years ago
Chen Quan 22a1315136
[WIP]Add parse headers info (#805)
* Add parse headers info

* Update parse headers info
3 years ago
Kevin Wan 655ae8034c
fix golint issues in rest (#529) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
bittoy 88ec89bdbd
optimization (#241) 4 years ago
kevin d6c7da521e remove bodyless check 4 years ago
kevin 96b6d2ab58 parse body only if content length > 0 4 years ago
kevin 88a73f1042 return ErrBodylessRequest on get method etc. 4 years ago
kevin c57051ce63 use strings.Contains instead of strings.Index 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 0897f60c5d rename ngin to rest 4 years ago