Commit Graph

6 Commits (457eb1961b8a8abeb6309e0c66788e583bcf92e6)

Author SHA1 Message Date
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 cef83efd4e
fix #1838 (#1839) 3 years ago
Kevin Wan 655ae8034c
fix golint issues in rest (#529) 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