Handbook
Glossary
read-request-data ( request -- request )
Vocabulary
http
.
server
.
requests
Inputs
request
an
object
Outputs
request
an
object
Definition
USING:
accessors
http
kernel
sequences
splitting
;
IN:
http.server.requests
:
read-request-data
( request -- request )
dup
method>>
{
"POST"
"PUT"
"PATCH"
}
member?
[
dup
dup
"content-type"
header
";"
split1
drop
parse-content
>>data
]
when
;