This is the http-body Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:23:24 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
http-body
HTTP POST data parser for Common Lisp
Eitaro Fukamachi
BSD 2-Clause
# HTTP-Body
[![Build Status](https://travis-ci.org/fukamachi/http-body.svg?branch=master)](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).
jonathan
(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/src
http-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.asd
http-body/src/http-body.lisp
http-body/src/multipart.lisp
http-body/src/json.lisp
http-body/src/urlencoded.lisp
http-body/src/util.lisp
http-body/src/http-body.lisp
multipart.lisp
(file).
json.lisp
(file).
urlencoded.lisp
(file).
util.lisp
(file).
src
(module).
parse
(function).
*content-type-map*
(special variable).
http-body/src/multipart.lisp
json.lisp
(file).
urlencoded.lisp
(file).
util.lisp
(file).
src
(module).
multipart-parse
(function).
http-body/src/json.lisp
util.lisp
(file).
src
(module).
json-parse
(function).
http-body/src/urlencoded.lisp
util.lisp
(file).
src
(module).
urlencoded-parse
(function).
http-body/src/util.lisp
src
(module).
detect-charset
(function).
slurp-stream
(function).
starts-with
(function).
parse-content-type
(function).
Packages are listed by definition order.
http-body.util
common-lisp
.
detect-charset
(function).
slurp-stream
(function).
starts-with
(function).
parse-content-type
(function).
http-body
common-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 |
---|