[PR #4566] [MERGED] chore: show warning for interceptors not supporting binary data #4858

Closed
opened 2026-03-17 02:21:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4566
Author: @CuriousCorrelation
Created: 11/27/2024
Status: Merged
Merged: 11/27/2024
Merged by: @jamesgeorge007

Base: nextHead: fix/interceptor-preference


📝 Commits (4)

  • 4bbd53f chore: supportsBinaryContentType inspector warning for native, agent and proxy interceptors
  • 4a93c2b fix: inspector warning on supported interceptors
  • 03ec1f9 fix: consistent def impl for binary content type
  • 7b59ba5 chore: cleanup

📊 Changes

5 files changed (+26 additions, -16 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+1 -1)
📝 packages/hoppscotch-common/src/platform/std/interceptors/agent/index.ts (+2 -2)
📝 packages/hoppscotch-common/src/services/inspection/inspectors/interceptors.inspector.ts (+8 -4)
📝 packages/hoppscotch-common/src/services/interceptor.service.ts (+13 -7)
📝 packages/hoppscotch-selfhost-desktop/src/platform/interceptors/native/index.ts (+2 -2)

📄 Description

Added inspector warnings for sending binary data via the Agent interceptor.

2
1


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4566 **Author:** [@CuriousCorrelation](https://github.com/CuriousCorrelation) **Created:** 11/27/2024 **Status:** ✅ Merged **Merged:** 11/27/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `fix/interceptor-preference` --- ### 📝 Commits (4) - [`4bbd53f`](https://github.com/hoppscotch/hoppscotch/commit/4bbd53ff94951e9b978600f9007bae01ad92dc69) chore: `supportsBinaryContentType` inspector warning for `native`, `agent` and `proxy` interceptors - [`4a93c2b`](https://github.com/hoppscotch/hoppscotch/commit/4a93c2b1c5e181bc029836e8b5e2e60312ad3072) fix: inspector warning on supported interceptors - [`03ec1f9`](https://github.com/hoppscotch/hoppscotch/commit/03ec1f9323ec328390410822ecc6b7c67aec457c) fix: consistent def impl for `binary` content type - [`7b59ba5`](https://github.com/hoppscotch/hoppscotch/commit/7b59ba5a658130b28e6cb5c2667f80c7673126b4) chore: cleanup ### 📊 Changes **5 files changed** (+26 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+1 -1) 📝 `packages/hoppscotch-common/src/platform/std/interceptors/agent/index.ts` (+2 -2) 📝 `packages/hoppscotch-common/src/services/inspection/inspectors/interceptors.inspector.ts` (+8 -4) 📝 `packages/hoppscotch-common/src/services/interceptor.service.ts` (+13 -7) 📝 `packages/hoppscotch-selfhost-desktop/src/platform/interceptors/native/index.ts` (+2 -2) </details> ### 📄 Description Added inspector warnings for sending binary data via the Agent interceptor. ![2](https://github.com/user-attachments/assets/3b470bf4-7da6-4213-80c4-df5a1273eedc) ![1](https://github.com/user-attachments/assets/0ed9425e-c1fb-4ffb-8846-e295a2e20d57) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:21:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4858
No description provided.