Comments (4)
Good question. I think we should handle a proxy, but that may interact with #7 .
from httpstat.
According to this StackOverflow answer it is possible to use a proxy by setting HTTP_PROXY
. It can also be set programmatically, though perhaps supporting both environment and flag is the most adequate solution.
from httpstat.
@inkel at the moment with the hand rolled way of making the connection, negotiating the handshake, then writing the request directly I'm pretty confident that the current code doesn't deal with proxies at all.
Using the httptrace mechanism sounds better, but I'm sure there will be a request to break out the proxy latency, its connection, its https handshake, etc.
from httpstat.
@inkel it's easy to do.
I've implemented this feature in my product.
https://github.com/mattn/http-gonsole/blob/master/http-gonsole.go#L78
from httpstat.
Related Issues (20)
- Package exists but is not a directory HOT 7
- go get is failing HOT 1
- will this support IOS and Android? HOT 2
- CSV output HOT 1
- Analyzing HTTP timeouts HOT 1
- Is there a speed_download size_download for curl? HOT 1
- Client for azure eventhub (Enhancement/help) HOT 1
- Multiple certificates are not supported when specifying a client certificate with -E
- Allow the user to specify the maximum time of the operation HOT 1
- Allow the user to specify additional CA certificates for SSL peer validation
- DNS through socks5 proxy HOT 1
- Flag: don't discard body, add syntax highlighting
- Flag/option to force DNS resolution HOT 4
- why did you say that reorx/httpstat is a shameless ripoff? HOT 3
- Multiple Parameters Support ? HOT 6
- httpstat returns 403, doesn't hide timings HOT 4
- function readClientCert use gloabl variable to read cert file
- Assets missing for 1.1.0 release HOT 2
- Can't add extra headers HOT 2
- Request for adding JSON output support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpstat.