Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dunglas/httpsfv
A Go library to parse and serialize HTTP structured field values
https://github.com/dunglas/httpsfv
http parsing rfc8941 serialization structured-fields structured-headers structured-trailers
Last synced: 4 days ago
JSON representation
A Go library to parse and serialize HTTP structured field values
- Host: GitHub
- URL: https://github.com/dunglas/httpsfv
- Owner: dunglas
- License: bsd-3-clause
- Created: 2020-07-24T21:50:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T15:45:47.000Z (4 months ago)
- Last Synced: 2024-12-15T01:08:29.193Z (11 days ago)
- Topics: http, parsing, rfc8941, serialization, structured-fields, structured-headers, structured-trailers
- Language: Go
- Homepage:
- Size: 41 KB
- Stars: 64
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# httpsfv: Structured Field Values for HTTP in Go
This [Go (golang)](https://golang.org) library implements parsing and serialization for [Structured Field Values for HTTP (RFC 8941)](https://httpwg.org/specs/rfc8941.html).
[![PkgGoDev](https://pkg.go.dev/badge/github.com/dunglas/httpsfv)](https://pkg.go.dev/github.com/dunglas/httpsfv)
![CI](https://github.com/dunglas/httpsfv/workflows/CI/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/dunglas/httpsfv/badge.svg?branch=master)](https://coveralls.io/github/dunglas/httpsfv?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/dunglas/httpsfv)](https://goreportcard.com/report/github.com/dunglas/httpsfv)## Features
* Fully implementing the RFC
* Compliant with [the official test suite](https://github.com/httpwg/structured-field-tests)
* Unit and fuzz tested
* Strongly-typed
* Fast (see [the benchmark](httpwg_test.go))
* No dependencies## Docs
[Browse the documentation on Go.dev](https://pkg.go.dev/github.com/dunglas/httpsfv).
## Credits
Created by [Kévin Dunglas](https://dunglas.fr). Sponsored by [Les-Tilleuls.coop](https://les-tilleuls.coop).