Commit Graph

18 Commits (f296c182f78e743af2291b564a4b6b48628547bf)

Author SHA1 Message Date
Kevin Wan 6170d7b790
feat: rest validation on http requests (#3041) 2 years ago
Kevin Wan 66be213346
chore: refine rest validator (#2928)
* chore: refine rest validator

* chore: add more tests

* chore: reformat code

* chore: add comments
2 years ago
Kevin Wan cf6c349118
fix: #2735 (#2736)
* fix: #2735

* chore: make error consistent
2 years ago
Kevin Wan 05a5de7c6d
chore: fix lint errors (#2520) 2 years ago
Kevin Wan 3bbc90ec24
refactor: move json related header vars to internal (#1840)
* refactor: move json related header vars to internal

* refactor: use header.ContentType
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan cd289465fd
chore: coding style and comments (#1361)
* chore: coding style and comments

* chore: optimize `ParseJsonBody` (#1353)

* chore: optimize `ParseJsonBody`

* chore: optimize `ParseJsonBody`

* fix: fix a test

* chore: optimize `ParseJsonBody`

* fix a test

* chore: add comment

* chore: refactor

Co-authored-by: chenquan <chenquan.dev@foxmail.com>
3 years ago
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 496a2f341e
test: add more tests (#1163)
* chore: reverse the order of stopping services

* chore: reverse the order of stopping services

* test: add more tests
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 668a7011c4 add more tests 4 years ago
kevin b8fcdd5460 add more tests 4 years ago
kevin be9c48da7f add tracing logs in server side and client side 4 years ago
kevin d6c7da521e remove bodyless check 4 years ago
kevin 88a73f1042 return ErrBodylessRequest on get method etc. 4 years ago
kevin b73684d9a6 move router to httpx 4 years ago
kevin 0897f60c5d rename ngin to rest 4 years ago