Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(proxy): handle more content-disposition edge cases (#3100)
<!-- Describe the problem and your solution --> Refactored the response handling to cover more edge cases. Instead of checking if the `content-disposition` header is exactly equal to `attachment`, we now check if it includes `attachment` or `inline`, allowing for more flexibility. This change improves the handling of different content types by considering both attachment and inline dispositions. <!-- Issue ticket number and link (if applicable) --> <!-- Testing instructions (skip if just adding/editing providers) --> Initially this was producing a malformed response with the dropbox and front providers, but after the fix, it works as expected. --------- Co-authored-by: Hassan Wari <[email protected]> Co-authored-by: Khaliq <[email protected]>
- Loading branch information