chore: show warning for interceptors not supporting binary data (#4566)

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
Shreyas
2024-11-27 16:53:30 +05:30
committed by GitHub
parent a66771bbd0
commit 22515582c5
5 changed files with 26 additions and 16 deletions

View File

@@ -260,6 +260,8 @@ export class NativeInterceptorService extends Service implements Interceptor {
public selectable = { type: "selectable" as const }
public supportsCookies = true
public supportsDigestAuth = true
public supportsBinaryContentType = false
private cookieJarService = this.bind(CookieJarService)
private persistenceService: PersistenceService = this.bind(PersistenceService)
@@ -277,8 +279,6 @@ export class NativeInterceptorService extends Service implements Interceptor {
public validateCerts = ref(true)
public proxyInfo = ref<RequestDef["proxy"]>(undefined)
public supportsDigestAuth = true
override onServiceInit() {
// Load SSL Validation
const persistedValidateSSL: unknown = JSON.parse(