📓 HTTP documentation right in your terminal.
Go Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps
_docs
httpdoc
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
Makefile
README.md
main.go

README.md

httpdoc

httpdoc gives you direct access to HTTP documentation straight from your terminal.

GoDoc Build Status

Usage

httpdoc <something>

Examples

$ httpdoc 200           # => Doc about the status code
$ httpdoc content-type  # => Doc about the header field

Install

go get github.com/bfontaine/httpdoc

httpdoc requires Go 1.2+.

Go API

import (
    "fmt"
    "github.com/bfontaine/httpdoc/httpdoc"
)

doc := httpdoc.DefaultDoc
code, _ := doc.GetStatusCode("200")
fmt.Println(code.PrettyString())

Support

This tool is a work in progress.

Resources Support
Standard status codes
Standard header fields
Standard methods

See Also

  • rfc: read RFCs in your terminal