[Solved] Handlers in GAE


Assuming you’re posting to /compress.py, replace

def z(self):

with

def post(self):

That’ll get you to your next problem.

As an aside, you’ll probably find it easier to take smaller steps. A small step in this case would be “can I hit a handler via URL and at least get a ‘hello world’ result?”. Maybe you’ve already done that. The next small step is “Can I post to a handler and get a ‘hello world’ result?” Doing that without worrying at all (yet) about what to do with posted data removes a lot of possible problems from consideration. Take those problems on small step by small step.

3

solved Handlers in GAE