Skip to content

aycanirican/hweblib

Repository files navigation

hweblib

Build Status

hweblib on Hackage

The library includes attoparsec based incremental parsers for below RFCs:

  • rfc2045.hs: Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies
  • rfc2046.hs: Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types
  • rfc2183.hs: Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field
  • rfc2234.hs: Augmented BNF for Syntax Specifications: ABNF
  • rfc2388.hs: Returning Values from Forms: multipart/form-data
  • rfc2822.hs: Internet Message Format
  • rfc3986.hs: Uniform Resource Identifier (URI): Generic Syntax
  • rfc4647.hs: Matching of Language Tags
  • rfc5234.hs: Augmented BNF for Syntax Specifications: ABNF
  • rfc5322.hs: Internet Message Format
  • rfc5646.hs: Tags for Identifying Languages
  • rfc7230.hs: Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing
  • rfc7231.hs: Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
  • rfc7232.hs: Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests
  • rfc7233.hs: Hypertext Transfer Protocol (HTTP/1.1): Range Requests
  • rfc7234.hs: Hypertext Transfer Protocol (HTTP/1.1): Caching
  • rfc7235.hs: Hypertext Transfer Protocol (HTTP/1.1): Authentication

Doctests and HUnit tests are included within the distribution.

A small benchmark program is included in the package which parses a very long uri and a GET request.

Contact Information

Aycan iRiCAN iricanaycan@gmail.com