This class holds the PyBlosxom request. It holds configuration
information, HTTP/CGI information, and data that we calculate and
transform over the course of execution.
There should be only one instance of this class floating around and it
should get created by pyblosxom.cgi and passed into the PyBlosxom
instance which will do further manipulation on the Request instance.
|
|
|
__iter__(self)
Can't copy the __iter__ method over from the StringIO instance
cause iter looks for the method in the class instead of the
instance. |
source code
|
|
|
|
|
|
object
|
|
object
|
|
object
|
|
dict
|
|
dict
|
|
dict
|
|
|
__populatedict(self,
currdict,
newdict)
Internal helper method for populating an existing dict with data
from the new dict. |
source code
|
|
|
addHttp(self,
d)
Takes in a dict and adds/overrides values in the existing http
dict with the new values. |
source code
|
|
|
addData(self,
d)
Takes in a dict and adds/overrides values in the existing data
dict with the new values. |
source code
|
|
|
addConfiguration(self,
newdict)
Takes in a dict and adds/overrides values in the existing
configuration dict with the new values. |
source code
|
|
|
__getattr__(self,
name,
default=None)
Sort of simulates the dict except we only have three valid
attributes: config, data, and http. |
source code
|
|
string
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|