mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4963] [MERGED] feat: import authorization header with curl #5001
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#5001
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/4963
Author: @chhaviG22
Created: 4/7/2025
Status: ✅ Merged
Merged: 5/8/2025
Merged by: @jamesgeorge007
Base:
patch← Head:feature/authorization-header-import📝 Commits (5)
8a3d1c9feat: import authorization header with curlbe3be92feat: fixed test casesc7a9c59Merge branch 'main' into feature/authorization-header-importe49e0a3feat: fixed test cases0248cb5Merge branch 'main' into feature/authorization-header-import📊 Changes
2 files changed (+32 additions, -7 deletions)
View changed files
📝
packages/hoppscotch-common/src/helpers/curl/__tests__/curlparser.spec.js(+31 -3)📝
packages/hoppscotch-common/src/helpers/curl/sub_helpers/headers.ts(+1 -4)📄 Description
This pull request updates the logic used to filter headers when a curl command is imported into Hoppscotch. Previously, the "Authorization" header along with certain "Content-Type" headers were intentionally excluded. This update retains the "Authorization" header, enhancing the tool's ability to handle secure requests seamlessly by including all critical headers necessary for authentication.
What's changed
Notes to reviewers
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.