ports/www/py-httpbin/files/patch-httpbin-core.py
Po-Chuan Hsieh 8f009815d3
www/py-httpbin: Fix runtime with py-werkzeug 2.1.0+
- Bump PORTREVISION for package change

With hat:	python
2022-06-17 03:35:59 +08:00

11 lines
478 B
Python

--- httpbin/core.py.orig 2018-05-08 11:41:03 UTC
+++ httpbin/core.py
@@ -19,7 +19,7 @@ from flask import Flask, Response, request, render_tem
from six.moves import range as xrange
from werkzeug.datastructures import WWWAuthenticate, MultiDict
from werkzeug.http import http_date
-from werkzeug.wrappers import BaseResponse
+from werkzeug.wrappers import Response as BaseResponse
from werkzeug.http import parse_authorization_header
from raven.contrib.flask import Sentry