Skip to content

forked from webpy / webpy. Add support continue process post in one function

License

Notifications You must be signed in to change notification settings

alex-testlab/mywebpy

Repository files navigation

mywebpy is a fork from webpy / webpy

Add following features:

  1. Use the custom wsgiserver to instead of cheroot.

  2. add a function:communicateWithConn to process continued post in one session

If you want to use web.py.web.py is a web framework for Python that is as simple as it is powerful.

Visit http://webpy.org/ for more information.

The latest stable release only supports Python >= 3.5. To install it, please run:

# For Python 3
python3 -m pip install mywebpy

Install it manually:

cd webpy/
python3 setup.py install

How to use communicateWithConn?:

import web
environ = web.ctx.environ
conn = environ['SERVER_CONN']
req = environ['SERVER_REQ']
message = '<http response data>'
result_data,result_req = conn.communicateWithConn(req,message,60)

About

forked from webpy / webpy. Add support continue process post in one function

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages