Package cherrypy :: Module _cpcgifs :: Class FieldStorage
[hide private]
[frames] | no frames]

Class FieldStorage

source code

cgi.FieldStorage --+
                   |
                  FieldStorage

Instance Methods [hide private]
 
__init__(self, *args, **kwds)
Constructor.
source code
 
read_lines_to_eof(self)
Internal: read lines until EOF.
source code
 
read_lines_to_outerboundary(self)
Internal: read lines until outerboundary.
source code
 
skip_lines(self)
Internal: skip lines until outer boundary if defined.
source code

Inherited from cgi.FieldStorage: __contains__, __getattr__, __getitem__, __iter__, __len__, __repr__, getfirst, getlist, getvalue, has_key, keys, make_file, read_binary, read_lines, read_multi, read_single, read_urlencoded

Class Variables [hide private]

Inherited from cgi.FieldStorage: FieldStorageClass, bufsize

Method Details [hide private]

__init__(self, *args, **kwds)
(Constructor)

source code 
Constructor.  Read multipart/* until last part.

Arguments, all optional:

fp              : file pointer; default: sys.stdin
    (not used when the request method is GET)

headers         : header dictionary-like object; default:
    taken from environ as per CGI spec

outerboundary   : terminating multipart boundary
    (for internal use only)

environ         : environment dictionary; default: os.environ

keep_blank_values: flag indicating whether blank values in
    URL encoded forms should be treated as blank strings.
    A true value indicates that blanks should be retained as
    blank strings.  The default false value indicates that
    blank values are to be ignored and treated as if they were
    not included.

strict_parsing: flag indicating what to do with parsing errors.
    If false (the default), errors are silently ignored.
    If true, errors raise a ValueError exception.

Overrides: cgi.FieldStorage.__init__
(inherited documentation)

read_lines_to_eof(self)

source code 
Internal: read lines until EOF.
Overrides: cgi.FieldStorage.read_lines_to_eof

read_lines_to_outerboundary(self)

source code 
Internal: read lines until outerboundary.
Overrides: cgi.FieldStorage.read_lines_to_outerboundary

skip_lines(self)

source code 
Internal: skip lines until outer boundary if defined.
Overrides: cgi.FieldStorage.skip_lines