Skip to content
It's like curl -v, with colours.
Branch: master
Clone or download
Latest commit 474bdf4 Sep 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore update .travis.yml for go 1.11 Sep 21, 2018
.travis.yml all: upgrade to Go 1.11 Sep 21, 2018
LICENSE
Makefile
README.md
go.mod
main.go address golint nit Jul 16, 2018
main_test.go
screenshot.png

README.md

httpstat Build Status

Go Report Card

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

httpstat requires Go 1.11 or later.

$ go get 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.
  • HTTP/HTTPS proxies supported via the usual HTTP_PROXY/HTTPS_PROXY env vars (as well as lower case variants).
  • Supply your own client side certificate with -E cert.pem.

Contributing

Bug reports are most welcome, but with the exception of #5, this project is closed.

Pull requests 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.

You can’t perform that action at this time.