davecheney / httpstat

It's like curl -v, with colours.
MIT License
6.96k stars 382 forks source link

Better url handling #31

Closed mvrilo closed 7 years ago

mvrilo commented 7 years ago

These cases should work:

httpstat google.com
httpstat google.com:443
httpstat google.com:80
httpstat :80/test # becomes: http://localhost/test
httpstat :9000/test # becomes: https://localhost:9000/test
davecheney commented 7 years ago

I've just merged #37 which covers most of this. I'm going to close this pull request. Feel free to submit a follow up PR if there are areas of #37 or #31 you want to see addressed.

mvrilo commented 7 years ago

Sure, no problem.