Packages

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

Current section

Files

Jump to
lfe_http src http.lfe
Raw

src/http.lfe

(defmodule http
(export
(default-headers 0)
(default-version 0)
(methods 0)
(versions 0)))
;;; -----------
;;; library API
;;; -----------
(defun default-headers ()
(http.header:new))
(defun default-version ()
1.1)
(defun methods ()
'(DELETE
GET
HEAD
OPTIONS
POST
PUT
TRACE))
(defun versions ()
'(0.9
1.0
1.1
2
3))