remote http get wrapper
two timeouts
context timeout (http call should be canned if parent context is cancelled)
http timeout (session call)
POST/PUT/OPTION
- implement transport timeout (http.Client.transport)
- implenent POST, PUT, and multi-part upload
- implement OPTION
- implement better JSON validation
- custom header
Supports Go 1.13 - 1.14.1
In your go files, simply use:
import "github.com/Greyeye/httpparser"
Then next go mod tidy
or go test
invocation will automatically
populate your go.mod
with the last httpparser release.
go get github.com/Greyeye/httpparser
automatically downloads to $GOPATH/src
. Then in your
go files use:
import "github.com/Greyeye/httpparser"