mime.multipart vocabulary
Factor handbook ยป Vocabulary index


Summary
MIME multipart parser

Metadata
Parents:mime
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
mime-decoding-ran-out-of-bytes tuple
mime-file tupleheaders filename temporary-path
mime-variable tupleheaders key value
multipart tupleend-of-stream? current-separator mime-separator header content-disposition bytes filename temp-file name name-content mime-parts
no-content-disposition tuplemultipart
unknown-content-disposition tuplemultipart


Ordinary words
WordStack effect
<mime-file>( headers filename temporary-path -- mime-file )
<mime-variable>( headers key value -- mime-variable )
<multipart>( mime-separator -- multipart )
buffer-size( -- value )
dump-file( multipart -- multipart )
dump-mime-file( multipart filename -- multipart )
dump-string( multipart separator -- multipart string )
dump-until-separator( multipart -- multipart )
empty-name?( string -- ? )
fill-bytes( multipart -- multipart )
lookup-disposition( multipart string -- multipart value/f )
mime-decoding-ran-out-of-bytes( -- * )
mime-write( sequence -- )
no-content-disposition( multipart -- * )
parse-beginning( multipart -- multipart )
parse-content-disposition-form-data( string -- hashtable )
parse-form-data( multipart -- multipart )
parse-headers( string -- hashtable )
parse-multipart( separator -- mime-parts )
parse-multipart-loop( multipart -- multipart )
process-header( multipart -- multipart )
read-assert-sequence=( sequence -- )
read-header( multipart -- multipart )
save-mime-part( multipart -- )
save-uploaded-file( multipart -- )
separator-prefix( -- value )
unknown-content-disposition( multipart -- * )


Class predicate words
WordStack effect
mime-decoding-ran-out-of-bytes?( object -- ? )
mime-file?( object -- ? )
mime-variable?( object -- ? )
multipart?( object -- ? )
no-content-disposition?( object -- ? )
unknown-content-disposition?( object -- ? )


Files


Metadata files