[mod_python] better understanding of the req object

David Bear David.Bear at asu.edu
Mon Jun 4 19:30:01 EDT 2007


I'm trying to understand all the members/methods of the req object but
anytime I try something like

req.write('the uri is ', req.uri) 

or req.write('the hostname is ', req.hostname)

I get an TypeError.

I'm completely not understanding how to work with the req object.

I assumed members would be 'callable' and return their value.

-- 
David Bear
phone: 	602-496-0424
fax: 	602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
 "Beware the IP portfolio, everyone will be suspect of trespassing"


More information about the Mod_python mailing list