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: 9 months 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 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T12:40:58.000Z (10 months ago)
- Last Synced: 2025-03-29T08:11:15.061Z (9 months ago)
- Topics: http, parsing, rfc8941, serialization, structured-fields, structured-headers, structured-trailers
- Language: Go
- Homepage:
- Size: 48.8 KB
- Stars: 66
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- 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 9651 and 8941)](https://httpwg.org/specs/rfc9651.html).
[](https://pkg.go.dev/github.com/dunglas/httpsfv)

[](https://coveralls.io/github/dunglas/httpsfv?branch=master)
[](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).