[Zope3-Users] getting post data in a Zope 3 view - paste.httpserver is the problem

Chris Withers chris at simplistix.co.uk
Tue Aug 19 11:58:40 EDT 2008


Chris Withers wrote:
> I should note that I'm using "paster serve" here, so I wonder if that 
> has any bearing?

Well no, but the fact that my deploy.ini contained the following:

[app:main]
use = egg:HelloWorld

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 8080

..was the problem. Look's like Paste's httpserver doesn't handle this 
kind of post properly.

Changing the deploy.ini to the following solved the problem:

[app:main]
use = egg:HelloWorld

[server:main]
use = egg:zope.server#main
host = 127.0.0.1
port = 8080

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope3-users mailing list