mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[PR #500] [MERGED] Refactoring proxy handling to be done in strategies #2660
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#2660
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/500
Author: @AndrewBastin
Created: 1/17/2020
Status: ✅ Merged
Merged: 1/18/2020
Merged by: @AndrewBastin
Base:
master← Head:refactor/strategy-proxy-handling📝 Commits (10+)
2a51ec6Moved proxy code to be handled in each strategy951266eAdded proxy support to FirefoxStrategya9224b9Merge branch 'master' into refactor/strategy-proxy-handling9d085e3Merge branch 'master' into refactor/strategy-proxy-handling730018bImprove strategy code redabilityc61d825Merge branch 'refactor/strategy-proxy-handling' of https://github.com/AndrewBastin/postwoman into refactor/strategy-proxy-handlinga1568a9Update functions/strategies/FirefoxStrategy.js8e86e4cUpdate functions/strategies/AxiosStrategy.js3b96f85Make James happy by doing proper code refactorsaa056ffrefactor: remove extraneous else📊 Changes
4 files changed (+50 additions, -21 deletions)
View changed files
📝
functions/network.js(+0 -5)📝
functions/strategies/AxiosStrategy.js(+17 -1)📝
functions/strategies/FirefoxStrategy.js(+33 -3)➖
functions/strategies/ProxyStrategy.js(+0 -12)📄 Description
This PR intends to move the proxy handling code to the individual strategies along with that, this PR introduces Postwoman request proxy support for Firefox Extension powered requests.
NOTE: To test the Firefox extension code, you will have to load the extension locally. The extension that can be downloaded from the Firefox Add-on's page does not hook into localhost pages for security reasons, for more info on how to do that, visit https://github.com/AndrewBastin/postwoman-firefox
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.