[ANN] Redhead 0.0.1 -- String header metadata

A

Adam Prescott

Redhead 0.0.1 is the first release of a library to work with
HTTP-style headers for metadata on strings.

It was originally created from noticing that minimalist blogging
systems like the Timeless Repo and Wheat stick metadata into basic
headers.

It's mostly quite simple, but to accommodate possible applications and
deviations from conventional header formats, there's some complexity
added which took a bit of time to think about. Anyhow, there's a bunch
of tests written for it.

It currently doesn't have anything written to sensibly handle multiple
headers with the same name. There are no doubt other holes and
improvements to the API.

Any feedback or (helpful) criticism about it is welcome.

GitHub: https://github.com/aprescott/redhead
RubyGems: https://rubygems.org/gems/redhead -- gem install redhead
 

Members online

Forum statistics

Threads
474,260
Messages
2,571,039
Members
48,768
Latest member
first4landlord

Latest Threads

Top