Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d7ccabb

Browse files
committed
Improved documentation of ngResource.hasBody that only POST,PUT and PATCH have a request body by default.
1 parent 9e23624 commit d7ccabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngResource/resource.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function shallowClearAndCopy(src, dst) {
194194
* `response` and `responseError`. Both `response` and `responseError` interceptors get called
195195
* with `http response` object. See {@link ng.$http $http interceptors}.
196196
* - **`hasBody`** - `{boolean}` - allows to specify if a request body should be included or not.
197-
* If not specified POST,PUT and PATCH will have a request body.
197+
* If not specified only POST,PUT and PATCH will have a request.
198198
*
199199
* @param {Object} options Hash with custom settings that should extend the
200200
* default `$resourceProvider` behavior. The supported options are:

0 commit comments

Comments
 (0)