Table of Contents

Class: Options Twisted-0.17.4/twisted/tap/web.py
Base Classes   
usage.Options
Methods   
__init__
opt_allow_ignore_ext
opt_class
opt_index
opt_mime_type
opt_path
opt_static
opt_user
  __init__ 
__init__ ( self )

  opt_allow_ignore_ext 
opt_allow_ignore_ext ( self )

Specify wether or not a request for foo should return foo.ext

  opt_class 
opt_class ( self,  className )

Create a Resource subclass with a zero-argument constructor.

  opt_index 
opt_index ( self,  indexName )

Add the name of a file used to check for directory indexes. [default: index, index.html]

  opt_mime_type 
opt_mime_type ( self,  defaultType )

Specify the default mime-type for static files.

  opt_path 
opt_path ( self,  path )

<path> is either a specific file or a directory to be set as the root of the web server. Use this if you have a directory full of HTML, cgi, php3, epy, or rpy files or any other files that you want to be served up raw.

  opt_static 
opt_static ( self,  path )

Same as --path, this is deprecated and will be removed in a future release.

  opt_user 
opt_user ( self )

Makes a server with ~/public_html and ~/.twistd-web-service support for users.


Table of Contents

This document was automatically generated on Sat Apr 20 01:31:39 2002 by HappyDoc version 2.0