# Path: app.py



import os
import sys
from flask import request, Response
from werkzeug.wsgi import LimitedStream
from app import app
# -*- coding: utf-8 -*-
"""
    deployment.fix_post_reset
    ~~~~~~~~~~~~~~~~~~~~~~~~~

    Fix for Connection Reset on POST
    http://flask.pocoo.org/snippets/47/
"""

sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))




class StreamConsumingMiddleware(object):


# Path: app.py



# Path: deployment/fix_connection_reset_post.py
import os
import sys
from flask import request, Response
from werkzeug.wsgi import LimitedStream
from app import app

# -*- coding: utf-8 -*-
"""
    deployment.fix_post_reset
    ~~~~~~~~~~~~~~~~~~~~~~~~~

    Fix for Connection Reset on POST
    http://flask.pocoo.org/snippets/47/
"""

sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))




class StreamConsumingMiddleware(object):


    def __init__(self, app):