Kevin Wan
|
3bbc90ec24
|
refactor: move json related header vars to internal (#1840)
* refactor: move json related header vars to internal
* refactor: use header.ContentType
|
2022-04-28 15:12:04 +08:00 |
|
Kevin Wan
|
cef83efd4e
|
fix #1838 (#1839)
|
2022-04-28 11:25:26 +08:00 |
|
Kevin Wan
|
655ae8034c
|
fix golint issues in rest (#529)
|
2021-03-01 19:15:35 +08:00 |
|
kevin
|
d6c7da521e
|
remove bodyless check
|
2020-08-12 14:44:09 +08:00 |
|
kevin
|
96b6d2ab58
|
parse body only if content length > 0
|
2020-08-12 14:37:34 +08:00 |
|
kevin
|
88a73f1042
|
return ErrBodylessRequest on get method etc.
|
2020-08-12 14:31:11 +08:00 |
|