deprecate "disableRedirect" in favor of "setFollowRedirect"

This commit is contained in:
Sefa Ilkimen
2019-04-15 18:09:34 +02:00
parent ccabbf2a29
commit c83940a8f6
10 changed files with 99 additions and 89 deletions
+2 -1
View File
@@ -12,6 +12,8 @@ module.exports = function init(jsUtil, cookieHandler, messages) {
checkClientAuthOptions: checkClientAuthOptions,
checkForBlacklistedHeaderKey: checkForBlacklistedHeaderKey,
checkForInvalidHeaderValue: checkForInvalidHeaderValue,
checkTimeoutValue: checkTimeoutValue,
checkFollowRedirectValue: checkFollowRedirectValue,
injectCookieHandler: injectCookieHandler,
injectFileEntryHandler: injectFileEntryHandler,
getMergedHeaders: getMergedHeaders,
@@ -26,7 +28,6 @@ module.exports = function init(jsUtil, cookieHandler, messages) {
interface.checkForValidStringValue = checkForValidStringValue;
interface.checkKeyValuePairObject = checkKeyValuePairObject;
interface.checkHttpMethod = checkHttpMethod;
interface.checkTimeoutValue = checkTimeoutValue;
interface.checkHeadersObject = checkHeadersObject;
interface.checkParamsObject = checkParamsObject;
interface.resolveCookieString = resolveCookieString;