Skip to content

davecheney/httpstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpstat

Build Status

Shameless

Imitation is the sincerest form of flattery.

But seriously, https://github.com/reorx/httpstat is the new hotness, and this is a shameless rip off.

Installation

$ go get -u github.com/davecheney/httpstat

Usage

$ httpstat https://example.com/

Features

  • Windows/BSD/Linux supported.
  • HTTP and HTTPS are supported, for self signed certificates use -k.
  • Skip timing the body of a response with -I.
  • Follow 30x redirects with -L.
  • Change HTTP method with -X METHOD.
  • Provide a PUT or POST request body with -d string. To supply the PUT or POST body as a file, use -d @filename.
  • Add extra request headers with -H 'Name: value'.
  • The response body is usually discarded, you can use -o filename to save it to a file, or -O to save it to the file name suggested by the server.

We don't need no stinking curl

httpstat.py is a wrapper around curl(1), which is all fine and good, but what if you don't have curl(1) or python(1) installed?

TODO

This project is aiming for a 1.0 release on the 3rd of October. Open issues for this release are tagged with this milestone.

Any open issue not tagged for the stable release milestone will be addressed after the 1.0 release.

Contributing

Bug reports and feature requests are welcome.

Pull requests are most welcome but must include a fixes #NNN or updates #NNN comment.

Please discuss your design on the accompanying issue before submitting a pull request. If there is no suitable issue, please open one to discuss the feature before slinging code. Thank you.