PyDocs

Nav

Internet Protocols and Support

SimpleHTTPRequestHandler.list_directory

  • SimpleHTTPRequestHandler.list_directory(path)
Helper to produce a directory listing (absent index.html).

Return value is either a file object, or None (indicating an
error).  In either case, the headers are sent, making the
interface the same as for send_head().
0 Examples
No examples for http.server/SimpleHTTPRequestHandler.list_directory.
See Also
No see-alsos for http.server/SimpleHTTPRequestHandler.list_directory
0 Notes
No notes for SimpleHTTPRequestHandler.list_directory