How to temporarily disable git http proxy

I always set: no_proxy=.mycompany (export if I am on Unix, or a simple set on Windows) It is enough to bypass the proxy for all intranet url ending with “.mycompany“. See for an example: “Can’t update/install using composer behind a corporate firewall“ “Only use a proxy for certain git urls/domains?“ “Cannot do git-svn fetch behind … Read more

How does a HTTP Proxy utilize the HTTP protocol? a Proxy RFC?

The header sent to a proxy is different. For example, here is what is sent by Google Chrome to www.baidu.com via a proxy server: GET http://www.baidu.com/ HTTP/1.1 Host: www.baidu.com Proxy-Connection: keep-alive Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 DNT: 1 Accept-Encoding: gzip, deflate, sdch Accept-Language: … Read more

How to intercept all http requests including form submits

https://developer.mozilla.org/en/docs/Web/API/Service_Worker_API Service workers essentially act as proxy servers that sit between web applications, and the browser and network (when available). It takes the form of a JavaScript file that can control the web page/site it is associated with, intercepting and modifying navigation and resource requests You register a service worker in your application code from … Read more

NPM behind NTLM proxy

I solved it this way (OS: Windows XP SP3): 1. Download CNTLM installer and run it. 2. Find and fill in these fields in cntlm.ini. Do not fill in the Password field, it’s never a good idea to store unencrypted passwords in text files. Username YOUR_USERNAME Domain YOUR_DOMAIN Proxy YOUR_PROXY_IP:PORT Listen 53128 3. Open console, … Read more