vars.go 388 B

1234567891011121314151617
  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. contentType = "Content-Type"
  11. applicationJson = "application/json"
  12. )
  13. // ErrGetWithBody indicates that GET request with body.
  14. var ErrGetWithBody = errors.New("HTTP GET should not have body")