Comments (4)
You should be able to do httpstat -H "Host: blah.com" https://1.2.3.4/
from httpstat.
@jakdept do you want to try that. The alternative may be adding something like curl’s —resolve flag
from httpstat.
I did not think of manually setting a Host:
header at command line, but that does work when I tried it.
Further, digging through net/http
and crypto/tls
they look to check for a Host:
header if other methods for setting the server name are not there before connecting, so that seems like it should work in all cases.
from httpstat.
The alternative may be adding something like curl’s —resolve flag
See our previous discussion in #36
from httpstat.
Related Issues (20)
- http2 GOAWAY support HOT 1
- 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
- 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
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.