You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
388 B
Go
18 lines
388 B
Go
package httpc
|
|
|
|
import "errors"
|
|
|
|
const (
|
|
pathKey = "path"
|
|
formKey = "form"
|
|
headerKey = "header"
|
|
jsonKey = "json"
|
|
slash = "/"
|
|
colon = ':'
|
|
contentType = "Content-Type"
|
|
applicationJson = "application/json"
|
|
)
|
|
|
|
// ErrGetWithBody indicates that GET request with body.
|
|
var ErrGetWithBody = errors.New("HTTP GET should not have body")
|