Categorygithub.com/renthraysk/encoding
repositorypackage
0.0.0-20240401224925-6ddeb912155f
Repository: https://github.com/renthraysk/encoding.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Encoding

Parsing HTTP Accept-Encoding headers

Points to note:

  • This code only cares whether a useragent supports a compression method or not. So q values of 0 means explictly unsupported, and positive q values means supported.
  • Parse() is allocation free.