Skip to content

Commit

Permalink
fix: consistent def impl for binary content type
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousCorrelation authored and jamesgeorge007 committed Nov 27, 2024
1 parent 4a93c2b commit 03ec1f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,19 @@ 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.
* 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 not supporting the Binary content type.
* If this field is undefined, it is assumed as *supporting* the Binary content type.
*/
supportsBinaryContentType?: boolean

Expand Down
2 changes: 1 addition & 1 deletion packages/hoppscotch-selfhost-desktop/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const headerPaddingTop = ref("0px")
{ type: "service", service: NativeInterceptorService },
{
type: "standalone",
interceptor: { ...proxyInterceptor, supportsDigestAuth: true, supportsBinaryContentType: true },
interceptor: { ...proxyInterceptor, supportsDigestAuth: true },
},
],
},
Expand Down

0 comments on commit 03ec1f9

Please sign in to comment.