add tests for reverse proxies

This commit is contained in:
Daniel Grossmann-Kavanagh
2019-01-12 23:16:57 -08:00
parent 2b23b75ce0
commit c672c85c00
7 changed files with 210 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ directly from users on the web!
import connexion
# adapted from http://flask.pocoo.org/snippets/35/
class ReverseProxied(object):
'''Wrap the application in this middleware and configure the