davecheney / httpstat

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

Fix URL parsing #79

Closed moorereason closed 7 years ago

moorereason commented 7 years ago

Get rid of schemify and let url.Parse do the heavy lifting.

Fixes #77 and replaces #78

op commented 7 years ago

@moorereason Yes, I like this better! I think the += "s" trick is harder to read than a simple if-else. ;)

davecheney commented 7 years ago

Thank you, that's much nicer.