Handbook
Glossary
unparse-content-type ( request -- content-type )
Vocabulary
http
.
server
Inputs
request
an
object
Outputs
content-type
an
object
Definition
USING:
accessors
io.encodings.iana
kernel
mime.types
sequences
;
IN:
http.server
:
unparse-content-type
( request -- content-type )
[
content-type>>
]
[
content-charset>>
]
bi
over
mime-type-encoding
encoding>name
or
[
"application/octet-stream"
or
]
dip
[
"; charset="
glue
]
when*
;