Skip to content

What's the difference between target and forward??? #917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chenzx opened this issue Dec 1, 2015 · 1 comment
Open

What's the difference between target and forward??? #917

chenzx opened this issue Dec 1, 2015 · 1 comment

Comments

@chenzx
Copy link

chenzx commented Dec 1, 2015

i use target, and build a local http proxy to let the browser access websites via my local proxy,
but when i goto some web sites, result is error/empty

does the target option remove the original request headers from the browser client?

@michahell
Copy link

The question in the title of this issue is a good one, this is quite confusing indeed.
Especially since other proxy packages seem to only use one way of specifying both directions:

The way I understand it, when using something like https://github.com/h2non/toxy you use something like this proxy.forward('http://httpbin.org'), which seems to me be bidirectional

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants