You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -74,11 +74,11 @@ The smallest number of individual calls allowed in a batch request. This has a
74
74
This is a string array of the HTTP verbs that are **not** allowed to form part of a batch request. By default HEAD requests will not be batched. If for instance you did not want to batch HEAD and DELETE calls you would pass in this array as an option <code>['head', 'delete']</code>
75
75
76
76
####enabled
77
-
True by default. If this is set to false the batcher will ignore all request and them will be send as normal single HTTP requests.
77
+
True by default. If this is set to false the batcher will ignore all requests and they will be send as normal single HTTP requests.
78
78
79
79
####sendCookies
80
-
False by default to reduce requesst size. If this is set to true cookies availiable on the document.cookie property will be set
81
-
in each segment of a batch request. Note that only non HTTPOnly cookie will be sent as HTTPOnly cookies cannot be access by JavaScript
80
+
False by default to reduce request size. If this is set to true cookies available on the document.cookie property will be set
81
+
in each segment of a batch request. Note that only non HTTPOnly cookies will be sent as HTTPOnly cookies cannot be access by JavaScript
82
82
because of security limitations.
83
83
84
84
Note that if you are sending CORS request you will have to enable withCredentials on $http to allow cookies to be sent on the XHR request.
@@ -89,15 +89,17 @@ Note that if you are sending CORS request you will have to enable withCredential
89
89
}]);
90
90
```
91
91
92
-
Also ensure the server responses to the OPTIONS call with the below header:
92
+
Also ensure the server responds to the OPTIONS call with the below header:
0 commit comments