This is the http-body Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 05:18:05 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
http-bodyHTTP POST data parser for Common Lisp
Eitaro Fukamachi
BSD 2-Clause
# HTTP-Body
[](https://travis-ci.org/fukamachi/http-body)
HTTP-Body parses HTTP POST data and returns POST parameters. It supports application/x-www-form-urlencoded, application/json, and multipart/form-data.
## Usage
‘http-body‘ package exports only a function ‘parse‘, which takes exact 2 arguments – a string of Content-Type and a stream of HTTP POST data.
“‘common-lisp
(http-body:parse "application/x-www-form-urlencoded"
body-stream)
;=> (("name" . "Eitaro"))
; T
“‘
It returns parsed parameters in an association list.
If the Content-Type of first argument isn’t supported, it returns ‘NIL‘.
“‘common-lisp
(http-body:parse "text/plain" body-stream)
;=> NIL
; NIL
“‘
## Installation
“‘common-lisp
(ql:quickload :http-body)
“‘
## Author
* Eitaro Fukamachi
## Copyright
Copyright (c) 2014 Eitaro Fukamachi
## License
Licensed under the BSD 2-Clause License.
0.1
fast-http (system).
yason (system).
trivial-gray-streams (system).
quri (system).
flexi-streams (system).
babel (system).
cl-ppcre (system).
cl-utilities (system).
src (module).
Modules are listed depth-first from the system components tree.
http-body/srchttp-body (system).
http-body.lisp (file).
multipart.lisp (file).
json.lisp (file).
urlencoded.lisp (file).
util.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
http-body/http-body.asdhttp-body/src/http-body.lisphttp-body/src/multipart.lisphttp-body/src/json.lisphttp-body/src/urlencoded.lisphttp-body/src/util.lisphttp-body/src/http-body.lispmultipart.lisp (file).
json.lisp (file).
urlencoded.lisp (file).
util.lisp (file).
src (module).
parse (function).
*content-type-map* (special variable).
http-body/src/multipart.lispjson.lisp (file).
urlencoded.lisp (file).
util.lisp (file).
src (module).
multipart-parse (function).
http-body/src/json.lisputil.lisp (file).
src (module).
json-parse (function).
http-body/src/urlencoded.lisputil.lisp (file).
src (module).
urlencoded-parse (function).
http-body/src/util.lispsrc (module).
detect-charset (function).
slurp-stream (function).
starts-with (function).
parse-content-type (function).
Packages are listed by definition order.
http-body.utilcommon-lisp.
detect-charset (function).
slurp-stream (function).
starts-with (function).
parse-content-type (function).
http-bodycommon-lisp.
parse (function).
*content-type-map* (special variable).
Definitions are sorted by export status, category, package, and then by lexicographic order.
| Jump to: | D F J M P S U |
|---|
| Jump to: | D F J M P S U |
|---|
| Jump to: | *
S |
|---|
| Index Entry | Section | ||
|---|---|---|---|
| | |||
| * | |||
*content-type-map*: | Private special variables | ||
| | |||
| S | |||
Special Variable, *content-type-map*: | Private special variables | ||
| | |||
| Jump to: | *
S |
|---|
| Jump to: | F H J M P S U |
|---|
| Jump to: | F H J M P S U |
|---|