File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,11 @@ function $HttpProvider() {
116
116
*
117
117
* Object containing default values for all {@link ng.$http $http} requests.
118
118
*
119
+ * - **`defaults.cache`** - {Object} - an object built with {@link ng.$cacheFactory `$cacheFactory`}
120
+ * that will provide the cache for all requests who set their `cache` property to `true`.
121
+ * If you set the `default.cache = false` then only requests that specify their own custom
122
+ * cache object will be cached. See {@link $http#caching $http Caching} for more information.
123
+ *
119
124
* - **`defaults.xsrfCookieName`** - {string} - Name of cookie containing the XSRF token.
120
125
* Defaults value is `'XSRF-TOKEN'`.
121
126
*
@@ -129,6 +134,7 @@ function $HttpProvider() {
129
134
* - **`defaults.headers.post`**
130
135
* - **`defaults.headers.put`**
131
136
* - **`defaults.headers.patch`**
137
+ *
132
138
**/
133
139
var defaults = this . defaults = {
134
140
// transform incoming response data
You can’t perform that action at this time.
0 commit comments