lfe_http

General purpose data, functions, and utilties for use by LFE/Erlang HTTP clients, servers, URL-parsers, web frameworks, etc.


License
Apache-2.0

Documentation

http

Build Status LFE Versions Erlang Versions Tags

General purpose data, functions, and utilities for use by LFE HTTP clients, servers, URL-parsers, web frameworks, etc.

Project Logo

Table of Contents

Features

  • Request maps: (http.request:new 'GET "http://example.com")
  • Headers: (http.header:list->map (#(content-type #"text/plain")))
  • +150 status codes: (http.status:im-a-teapot)
  • +2000 mime types: (http.mimetype:application/json))

Installation

Add it to your rebar.config deps:

{deps, [
  ...
  {http, "0.3.0", {pkg, lfe_http}}
]}.

License

Apache License, Version 2.0

Copyright © 2023, Duncan McGreggor oubiwann@gmail.com.