-
Notifications
You must be signed in to change notification settings - Fork 12
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
Proxy #24
Comments
How do you mean that? If you mean the support of library CDNs, I would also support that... |
So maybe i have some kind of problem, because even if i set a proxy for brackets, JSdownloader download a 0byte file when the connection is behind proxy |
No, there is no way in the plugin to make use of a proxy unless you do it On Mon, Nov 17, 2014 at 3:12 AM, GalawynRM notifications@github.com wrote:
Raymond Camden, Web Developer for Adobe Email : raymondcamden@gmail.com |
I'm checking how to enable proxy support in your extension, could this page be useful? (brackets has in the configuration, the proxy settings, in case would be wonderful to access to those properties) http://stackoverflow.com/a/6781592 Using a HTTP proxy (for non secure requests) is very simple. You connect to the proxy and make the request normally except that the path part includes the full url and the host header is set to the host you want to connect to. var http = require("http"); var options = { |
Well, if there were UI for this (maybe a preferences icon in the UI) then On Mon, Jan 19, 2015 at 7:36 AM, GalawynRM notifications@github.com wrote:
Raymond Camden, Web Standards Evangelist Email : raymondcamden@gmail.com |
I'm trying to replace this from your "downloader.js" if(item.href.indexOf("https") === 0) { with similar calling as that page suggest, but for now i'm not able to make it work |
It would need to use an options structure for one. Also, I'd check to see On Mon, Jan 19, 2015 at 8:00 AM, GalawynRM notifications@github.com wrote:
Raymond Camden, Web Standards Evangelist Email : raymondcamden@gmail.com |
is this helping for https ones? they suggest to use "Request" (i'm new to node.js and brackets extensions) http://stackoverflow.com/a/21281075 Request, https://github.com/request/request |
i got some results with this https://www.npmjs.com/package/global-tunnel adding to the downloader.js var globalTunnel = require('global-tunnel'); (but i needed to npm install it, i don't know if it's possible from a bracket extension installation. there is even an option for global tunnel, to use the environment variables http_proxy.. etc. |
Well, I wish you luck. :) It isn't that I don't want to help per se, but I On Mon, Jan 19, 2015 at 8:27 AM, GalawynRM notifications@github.com wrote:
Raymond Camden, Web Standards Evangelist Email : raymondcamden@gmail.com |
Yes of course, I'm trying to find a possible generic solution. for now it's working on my local version, but with a require, that i don't know how to "embed" into the extension |
Great work,
It's planned at least a basic support of proxy servers?
The text was updated successfully, but these errors were encountered: