httpstat

command module
v0.0.0-...-5927468 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2016 License: MIT Imports: 16 Imported by: 0

README

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/

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

The big ticket features which are missing at this point are:

  • support for https; this involves negotating the handshake before sending the request, adjusting the various timing points, and using the alternative template. done, thanks @freeformz
  • detect when httpstat is being piped to a file or other not tty device and disable coloured output. done, thanks @amy
  • support for more CURL flags, like -H HEADER and -X METHOD.
  • spool response.Body to a temporary file.
  • Sort response headers intelligently, #18.
  • Support curl's -L flag to follow redirects, #23.
  • Handle urls without a scheme, #26

Contributing

Bug reports and feature requests are welcome.

Pull requests are most welcome, but if the feature is not on the TODO list, please open an issue to discuss the feature before slinging code. Thank you.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL