Handbook
Glossary
parse-content-type ( content-type -- type encoding )
Vocabulary
http
Inputs
content-type
an
object
Outputs
type
an
object
encoding
an
object
Definition
USING:
assocs
io.encodings.iana
kernel
mime.types
splitting
;
IN:
http
:
parse-content-type
( content-type -- type encoding )
";"
split1
parse-content-type-attributes
"charset"
of
[
dup
mime-type-encoding
encoding>name
]
unless*
;