Closed dkulchenko closed 10 years ago
An empty-body status code return is useful for more than just errors, e.g. an HTTP 204 has no body, and would be useful to call using r.Status(204) rather than r.Error(204), since 204 isn't an error.
r.Status(204)
r.Error(204)
:+1:
Looks good to me. Merging
An empty-body status code return is useful for more than just errors, e.g. an HTTP 204 has no body, and would be useful to call using
r.Status(204)
rather thanr.Error(204)
, since 204 isn't an error.