Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`.