|
@@ -104,10 +104,22 @@ export type Interceptor<Err extends InterceptorError = InterceptorError> = {
|
|
|
|
|
|
/**
|
|
|
* Defines whether the interceptor has support for cookies.
|
|
|
- * If this field is undefined, it is assumed as not supporting cookies.
|
|
|
+ * If this field is undefined, it is assumed as *not supporting* cookies.
|
|
|
*/
|
|
|
supportsCookies?: boolean
|
|
|
|
|
|
+ /**
|
|
|
+ * Defines whether the interceptor has support for Digest Auth.
|
|
|
+ * If this field is undefined, it is assumed as *not supporting* the Digest Auth type.
|
|
|
+ */
|
|
|
+ supportsDigestAuth?: boolean
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Defines whether the interceptor has support for Binary (file) content type.
|
|
|
+ * If this field is undefined, it is assumed as *supporting* the Binary content type.
|
|
|
+ */
|
|
|
+ supportsBinaryContentType?: boolean
|
|
|
+
|
|
|
/**
|
|
|
* Defines what to render in the Interceptor section of the Settings page.
|
|
|
* Use this space to define interceptor specific settings.
|
|
@@ -141,12 +153,6 @@ export type Interceptor<Err extends InterceptorError = InterceptorError> = {
|
|
|
* @param request The request to run the interceptor on.
|
|
|
*/
|
|
|
runRequest: (request: AxiosRequestConfig) => RequestRunResult<Err>
|
|
|
-
|
|
|
- /**
|
|
|
- * Defines whether the interceptor has support for Digest Auth.
|
|
|
- * If this field is undefined, it is assumed as not supporting the Digest Auth type.
|
|
|
- */
|
|
|
- supportsDigestAuth?: boolean
|
|
|
}
|
|
|
|
|
|
/**
|