Little bits of http functionality that probably aught to be in the http package itself.
Go
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.markdown
httputil.go

README.markdown

HTTP Utility Package

Getting Started

Install:

goinstall github.com/crazy2be/httputil

Import:

import "github.com/crazy2be/httputil"

Use:

httputil.ServeFileOnly(rw, r, path)

What to Use it For

HTTP functionality that really aught to be in the http package, but isn't for whatever reason. Designed to supplement the existing http package.

More will be added as I find myself needing extra functionality.

Functions

Full function reference at http://gopkgdoc.appspot.com/pkg/github.com/crazy2be/httputil.