* Feat: add http status and code from http cmd run
Signed-off-by: suxiang <704427617@qq.com>
(cherry picked from commit 0b96b2e60a)
* Feat: fix unit test error
Signed-off-by: suxiang <704427617@qq.com>
(cherry picked from commit 25f2291503)
* Feat: status is not necessary
Signed-off-by: suxiang <704427617@qq.com>
(cherry picked from commit ef3b8ac82b)
* Feat: make reviewable
Signed-off-by: suxiang <704427617@qq.com>
(cherry picked from commit 684f5e9ae2)
* Feat: add unit test
Signed-off-by: suxiang <704427617@qq.com>
(cherry picked from commit 6c39f602ea)
* Feat: make reviewable
Signed-off-by: suxiang <704427617@qq.com>
(cherry picked from commit 20ae7f2e15)
Co-authored-by: suxiang <704427617@qq.com>
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <zerjun@beatchain.co>