Fix a couple of typos

This commit is contained in:
Caleb Tennis 2015-08-09 15:20:06 -04:00
parent 411e95d5cc
commit f8560c9eaa
2 changed files with 2 additions and 2 deletions

View file

@ -145,6 +145,6 @@ var (
// ErrInvalidRequest is returned if the request is invalid
ErrInvalidRequest = errors.New("invalid request")
// ErrPermissionDeneid is returned if the client is not authorized
// ErrPermissionDenied is returned if the client is not authorized
ErrPermissionDenied = errors.New("permission denied")
)

View file

@ -13,7 +13,7 @@ const (
// avoided like the HTTPContentType. The value must be a byte slice.
HTTPRawBody = "http_raw_body"
// HTTPStatusCode is the response code the HTTP body that goes with the HTTPContentType.
// HTTPStatusCode is the response code of the HTTP body that goes with the HTTPContentType.
// This can only be specified for non-secrets, and should should be similarly
// avoided like the HTTPContentType. The value must be an integer.
HTTPStatusCode = "http_status_code"