Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snaipe/go-htutil
Go HTTP utilities, with no dependencies
https://github.com/snaipe/go-htutil
accept-header content-type go golang http
Last synced: 17 days ago
JSON representation
Go HTTP utilities, with no dependencies
- Host: GitHub
- URL: https://github.com/snaipe/go-htutil
- Owner: Snaipe
- License: mit
- Created: 2022-01-09T19:22:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T17:39:36.000Z (over 2 years ago)
- Last Synced: 2024-10-31T11:45:09.953Z (2 months ago)
- Topics: accept-header, content-type, go, golang, http
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# snai.pe/go-htutil
[![GoDoc](https://godoc.org/snai.pe/go-htutil?status.svg)](https://godoc.org/snai.pe/go-htutil)
```
go get snai.pe/go-htutil
```Go HTTP utilities with no dependencies.
This package provides the following utilities:
* an alternate implemenation of github.com/golang/gddo/httputil.NegotiateContentType.
This package was in part motivated in providing a no-dependency package providing
similar functionality.
* a wrapper over `net/url.URL` that implements `encoding.TextMarshaler` and `encoding.TextUnmarshaler`.