Skip to content

pschichtel/rfc5988

Repository files navigation

rfc5988

This is a simple library that parses Link headers in accordance to RFC 5988. The parser should also be compatible with the newer RFC 8288 (see Appendix C).

This RFC references several other standards as per Section 1:

  • RFC 2616: Several ABNF definitions have been implemented
  • RFC 3986: URI and URI-Reference defintions, neither of which have been implemented in this library
  • RFC 4288: type-name and subtype-name have been implemented
  • W3C HTML 4.01: MediaDesc is referenced, but not implemented in this libary
  • RFC 5646: Language-Tag is referenced and fully implemented here including a test suite based on the RFC examples
  • RFC 5987: ext-value and parmname are referenced and fully implemented here

The library uses parser combinators to create a parser that is very close the grammars found in the RFCs.