Package amplee :: Package handler :: Package store :: Package wsgi :: Module tools :: Class AcceptElement
[hide private]
[frames] | no frames]

Class AcceptElement

source code

   object --+    
            |    
HeaderElement --+
                |
               AcceptElement

An element (with parameters) from an Accept-* header's element list.



Instance Methods [hide private]
  __cmp__(self, other)

Inherited from HeaderElement: __init__, __str__, __unicode__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__


Class Methods [hide private]
  from_str(cls, elementstr)
Construct an instance from a string of the form 'token;key=val'.

Static Methods [hide private]

Inherited from HeaderElement: parse


Class Variables [hide private]
  qvalue = property(qvalue, doc= "The qvalue, or priority, of t...

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

from_str(cls, elementstr)
Class Method

source code 
Construct an instance from a string of the form 'token;key=val'.

Overrides: HeaderElement.from_str
(inherited documentation)

__cmp__(self, other)
(Comparison operator)

source code 
None

Class Variable Details [hide private]

qvalue

None
Value:
property(qvalue, doc= "The qvalue, or priority, of this value.")