vars.go 280 B

123456789101112131415
  1. package httpc
  2. import "errors"
  3. const (
  4. pathKey = "path"
  5. formKey = "form"
  6. headerKey = "header"
  7. jsonKey = "json"
  8. slash = "/"
  9. colon = ':'
  10. )
  11. // ErrGetWithBody indicates that GET request with body.
  12. var ErrGetWithBody = errors.New("HTTP GET should not have body")