mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4466] [MERGED] feat: support for binary body #4819
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4819
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4466
Author: @amk-dev
Created: 10/22/2024
Status: ✅ Merged
Merged: 11/26/2024
Merged by: @jamesgeorge007
Base:
next← Head:feat/binary-body📝 Commits (5)
c04d6cbfeat: send binary content through body79c7a89fix: add schema fallbackecfe98bfeat: add inspections for agent6e54ea6fix: remove adding explicit inspection to url0452bd8chore: cleanup📊 Changes
16 files changed (+261 additions, -22 deletions)
View changed files
📝
packages/hoppscotch-cli/src/interfaces/request.ts(+1 -1)📝
packages/hoppscotch-cli/src/utils/pre-request.ts(+15 -1)📝
packages/hoppscotch-common/locales/en.json(+5 -1)📝
packages/hoppscotch-common/src/components/app/Inspection.vue(+1 -0)📝
packages/hoppscotch-common/src/components/http/Body.vue(+17 -0)➕
packages/hoppscotch-common/src/components/http/BodyBinary.vue(+70 -0)📝
packages/hoppscotch-common/src/components/http/Headers.vue(+22 -12)📝
packages/hoppscotch-common/src/components/http/Parameters.vue(+5 -1)📝
packages/hoppscotch-common/src/helpers/utils/EffectiveURL.ts(+36 -2)📝
packages/hoppscotch-common/src/helpers/utils/contenttypes.ts(+7 -1)📝
packages/hoppscotch-common/src/pages/index.vue(+3 -0)📝
packages/hoppscotch-common/src/services/inspection/index.ts(+4 -1)📝
packages/hoppscotch-common/src/services/inspection/inspectors/environment.inspector.ts(+4 -2)➕
packages/hoppscotch-common/src/services/inspection/inspectors/interceptors.inspector.ts(+65 -0)📝
packages/hoppscotch-data/src/rest/content-types.ts(+1 -0)📝
packages/hoppscotch-data/src/rest/v/9.ts(+5 -0)📄 Description
This PR adds support for sending binary data as body.
since the binary file is not exported, In
hoppscotch-cli, added some changes to not error the request out, like how multipart/form-data is behaving right now.hoppscotch/hoppscotch-extension#307 adds support for binary files in our browser extension.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
apikeyauth for native interceptors #4948