summaryrefslogtreecommitdiff
path: root/examples/uwsgirouter2.py
blob: 37ff9bcb2781b4251c8d5ce4650ff97f21dda07d (plain)
1
2
3
4
5
6
7
8

import uwsgi


def application(e, s):

    for part in uwsgi.send_message("192.168.173.100:3032", 0, 0, e, 0, e['wsgi.input'].fileno(), uwsgi.cl()):
        yield part