Package WebStack :: Package Helpers :: Module Request :: Class ContentType
[show private | hide private]
[frames | no frames]

Class ContentType

HeaderValue --+
              |
             ContentType


A container for content type information.

Method Summary
  __init__(self, media_type, charset, **attributes)
Initialise the container with the given 'media_type', an optional 'charset', and optional keyword attributes representing the key=value pairs which qualify content types.
  __getattr__(self, name)
    Inherited from HeaderValue
  __str__(self)
Format the header value object, producing a string suitable for the response header field.

Method Details

__init__(self, media_type, charset=None, **attributes)
(Constructor)

Initialise the container with the given 'media_type', an optional
'charset', and optional keyword attributes representing the key=value
pairs which qualify content types.
Overrides:
WebStack.Helpers.Request.HeaderValue.__init__

Generated by Epydoc 2.1 on Thu Mar 1 00:37:14 2007 http://epydoc.sf.net