<s> from supervisor . medusa import asyncore_25 as asyncore <EOL> from supervisor . medusa import default_handler <EOL> from supervisor . medusa import http_server <EOL> from supervisor . medusa import put_handler <EOL> from supervisor . medusa import auth_handler <EOL> from supervisor . medusa import filesys <EOL> users = { '<STR_LIT>' : '<STR_LIT>' , '<STR_LIT>' : '<STR_LIT>' } <EOL> fs = filesys . os_filesystem ( '<STR_LIT>' ) <EOL> dh = default_handler . default_handler ( fs ) <EOL> ph = put_handler . put_handler ( fs , '<STR_LIT>' ) <EOL> ah = auth_handler . auth_handler ( users , ph ) <EOL> hs = http_server . http_server ( ip = '<STR_LIT>' , port = <NUM_LIT> ) <EOL> hs . install_handler ( dh ) <EOL> hs . install_handler ( ah ) <EOL> asyncore . loop ( ) </s>
