olivere / httputil

A set of opinionated helpers for working with HTTP handlers, requests, and responses.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is it?

Test

The httputil package is a set of opinionated HTTP-related helpers.

Helpers include e.g. extracting bearer tokens from HTTP headers, retrieving parameters from the query string or parsing the HTTP body into a JSON-based struct.

Prior art

The original code was taken from Camlistore, and was available in the camlistore.org/pkg/httputil package. Lately, Camlistore has been renamed to Perkeep.

License

MIT. See LICENSE file.

About

A set of opinionated helpers for working with HTTP handlers, requests, and responses.

License:MIT License


Languages

Language:Go 100.0%