Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Num Return TryExcept body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Num Return Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot SubscriptLoad NameLoad Index Num NameLoad body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num If CompareIsNot SubscriptLoad NameLoad Index Num NameLoad body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Str body Pass Expr Call AttributeLoad NameLoad attr Return decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr NameLoad While CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A BaseHTTPServer N/A errno N/A os N/A mimetypes N/A socket N/A sys N/A threading MinimalistHTTPServer N/A N/A BaseHTTPServer HTTPServer N/A N/A A HTTP server class to pass parameters to MinimalistHTTPRequestHandler set_file N/A N/A self allowed_file N/A N/A N/A Prepare everything for serving our single available file. N/A N/A self allowed_file N/A N/A N/A os path realpath allowed_file N/A N/A MinimalistHTTPRequestHandler N/A N/A BaseHTTPServer BaseHTTPRequestHandler N/A N/A A minimalist request handler, to handle only GET requests
    for a single, specified file do_GET N/A N/A self N/A N/A N/A Serve the specified file when requested, return errors otherwise N/A N/A N/A self path N/A / N/A N/A N/A os path basename N/A N/A self server allowed_file N/A N/A N/A N/A self send_error 403 N/A N/A N/A N/A fout N/A open N/A N/A self server allowed_file N/A N/A N/A IOError N/A N/A N/A N/A self send_error 404 N/A N/A N/A N/A self send_response 200 N/A N/A N/A mimetypes init N/A mime_guess N/A N/A mimetypes guess_type N/A N/A self server allowed_file N/A N/A N/A mime_guess N/A 0 None N/A N/A N/A N/A self send_header Content-Type N/A mime_guess N/A 0 N/A N/A N/A mime_guess N/A 1 None N/A N/A N/A N/A self send_header Content-Encoding N/A mime_guess N/A 1 N/A statinfo N/A N/A os stat N/A N/A self server allowed_file N/A N/A N/A self send_header Content-Length N/A statinfo st_size N/A N/A N/A self end_headers N/A N/A N/A N/A N/A N/A self wfile write N/A N/A fout read N/A N/A N/A N/A socket error N/A e N/A N/A N/A N/A N/A errno errorcode N/A N/A e N/A 0 EPIPE N/A N/A N/A N/A N/A fout close N/A N/A N/A HTTPServerLauncher N/A object N/A N/A A launcher class for MinimalistHTTPServer. __init__ N/A N/A self server_addr file N/A N/A N/A N/A self server N/A MinimalistHTTPServer server_addr MinimalistHTTPRequestHandler N/A N/A N/A N/A self server set_file file N/A request_shutdown N/A N/A self N/A N/A N/A N/A N/A sys version_info N/A 2 6 N/A N/A N/A N/A N/A self server shutdown N/A N/A N/A self run_it False N/A run N/A N/A self N/A N/A N/A N/A N/A sys version_info N/A 2 6 N/A N/A N/A N/A N/A self server serve_forever N/A N/A N/A self run_it True N/A N/A N/A self run_it True N/A N/A N/A N/A N/A self server handle_request N/A N/A