https://github.com/olivere/httputil
A set of opinionated helpers for working with HTTP handlers, requests, and responses.
https://github.com/olivere/httputil
go golang http
Last synced: 7 months ago
JSON representation
A set of opinionated helpers for working with HTTP handlers, requests, and responses.
- Host: GitHub
- URL: https://github.com/olivere/httputil
- Owner: olivere
- License: mit
- Created: 2017-07-19T15:15:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T08:25:58.000Z (about 2 years ago)
- Last Synced: 2024-05-01T19:00:21.089Z (almost 2 years ago)
- Topics: go, golang, http
- Language: Go
- Size: 126 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is it?
[](https://github.com/olivere/httputil/actions/workflows/test.yml)
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](https://camlistore.org/), and was available in the [camlistore.org/pkg/httputil](https://camlistore.org/pkg/httputil) package. Lately, Camlistore has been renamed to [Perkeep](https://perkeep.org/).
## License
MIT. See [LICENSE](https://github.com/olivere/httputil/blob/master/LICENSE) file.