[Twisted-Python] Some Question about on woven and rpy/page.Page

Martin Möllenbeck Martin.Moellenbeck at t-online.de
Fri Jun 27 16:41:47 EDT 2003


I have setup a simple web-server (see the files attached).

When I comment out the render-method of MyPage (start.rpy), I get
this output:
Some stuff goes here-
this is the 'submit not in request.args'
Some more stuff goes here.
this is the None

It seems the request parameter 'submit' are not set.

If I comment in the render-method of MyPage, I get this output:
send via submit

When I have a look to the request, it seems that the first request 
(with the correct parameter, return with 302) and then a second 
request will be done with 200.

Have anybody an answer for me ;-)


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_web.py
Url: http://twistedmatrix.com/pipermail/twisted-python/attachments/20030627/edc4c2f1/attachment.txt 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20030627/edc4c2f1/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: start.rpy
Type: application/octet-stream
Size: 1308 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030627/edc4c2f1/attachment.obj 

More information about the Twisted-Python mailing list