<commit_before># httpdoc

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

[![GoDoc](https://godoc.org/github.com/bfontaine/httpdoc?status.svg)](https://godoc.org/github.com/bfontaine/httpdoc)
[![Build Status](https://travis-ci.org/bfontaine/httpdoc.svg?branch=master)](https://travis-ci.org/bfontaine/httpdoc)

## 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

```go
import (
    "fmt"<commit_msg>README: Mention the Homebrew formula<commit_after># httpdoc

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

[![GoDoc](https://godoc.org/github.com/bfontaine/httpdoc?status.svg)](https://godoc.org/github.com/bfontaine/httpdoc)
[![Build Status](https://travis-ci.org/bfontaine/httpdoc.svg?branch=master)](https://travis-ci.org/bfontaine/httpdoc)

## 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+.

### Using Homebrew

If you use [Homebrew](http://brew.sh) or [Linuxbrew](http://linuxbrew.sh/) you
can install `httpdoc` with one command:

```
brew install bfontaine/utils/httpdoc
```

## Go API

```go
import (
    "fmt"
{'fraction_non_alphanumeric': 0.1486396814863968, 'fraction_numerical': 0.006635700066357001, 'mean_word_length': 3.896103896103896, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1807530', 'n_tokens_mistral': 525, 'n_tokens_neox': 499, 'n_words': 117}