Commit Graph

6 Commits (1293c4321b9f286f092295e5c0d06b1c3018dfa8)

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