Typically I always work with values. Take a look at:
http://webware.sourceforge.net/Webware-0.8.1/WebKit/Docs/Source/ClassHier.html
and you will see a few value methods.

If you scan the source http://webware.sourceforge.net/Webware-0.8.1/WebKit/Docs/Source/Files/HTTPRequest.py.html
You will see that that
self.request().value('key',Default)
will first try to pull it from the query string or post input and then try a cookie.


field will not check cookies.

But then again I don't think that I ever use cookies anymore so it probably does not matter.

-Aaron

[EMAIL PROTECTED] wrote:

This is the correct way to print a value by key from query string?

self.write(self.request().field('foo'))

Or is there some quick method I missed?




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss



-- -Aaron http://www.MetroNY.com/ "I don't know what's wrong with my television set. I was getting C-Span and the Home Shopping Network on the same station. I actually bought a congressman." - Bruce Baum





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to