Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/py-httpbin: Fix runtime with py-werkzeug 2.1.0+
- Bump PORTREVISION for package change With hat: python
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- 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 | ||
|