http.server.static vocabulary
Factor handbook ยป Vocabulary index


Documentation
Serving static content

Metadata
Parents:http.server


Words

Tuple classes
ClassSuperclassSlots
file-responder tupleroot hook special index-names allow-listings


Ordinary words
WordStack effect
(serve-static)( path mime-type -- response )
<file-responder>( root hook -- responder )
<static>( root -- responder )
?parent-dir-link( -- xml/f )
?toggle-sort-order( col current-col -- order )
add-index( name responder -- )
directory>html( path -- xml )
enable-fhtml( responder -- responder )
file-html-template( href size modified -- xml )
file>html( name infos -- xml )
find-index( filename -- path )
list-directory( directory -- response )
listing( path -- seq-xml )
listing-body( title path -- xml )
listing-html-template( title listing ?parent CO-N CO-M CO-S -- xml )
listing-sort-by( seq quot: ( elt -- key ) -- sortedseq )
listing-title( -- title )
modified-since( request -- date )
modified-since?( filename -- ? )
parent-dir-link( -- xml )
serve-directory( filename -- response )
serve-fhtml( path -- response )
serve-file( filename -- response )
serve-object( filename -- response )
serve-static( filename mime-type -- response )
serving-path( filename -- filename )
size-without-directories( info -- size )
sort-asc?( -- ? )
sort-by-modified( {file,info} -- sorted )
sort-by-name( {file,info} -- sorted )
sort-by-size( {file,info} -- sorted )
sort-column( -- column )
sort-listing( zipped-files-infos -- sorted )
sort-order( -- order )
sort-orders( -- CO-N CO-M CO-S )
toggle-order( order -- order' )
zip-files-infos( files -- zipped )


Class predicate words
WordStack effect
file-responder?( object -- ? )


Files


Metadata files