Re: Programmatic usage of 2.2
"Jonathan Ellis" <[email protected]> Wed, 07 Mar 2007 06:56:51 -0800
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 07 Mar 2007 14:22:22 +0200, "Iwan Vosloo" <[email protected]> said: > Hi Jonathan, > > we've been trying to use 2.2 in our setup, but it seems that the > interface for programmatic usage has changed in 2.2. > > 1) Can you tell us how the "write" (etc) methods are now used on the > Response object? just use .out; it's just a file-like-object, you can write and you can flush. it's buffered by default, so you can also unbuffer. > 2) And, how and when is its "out" attribute used? (It used to be a > string, seems to expect a file-like thing now?) yes > 3) It seems to also now expect QUERY_STRING in the Request's environment > which previously was not necessary. that wasn't intentional... how so? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV