Package: httpbin / 0.10.2+dfsg-2

Metadata

Package Version Patches format
httpbin 0.10.2+dfsg-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
restore forms post.patch | (download)

httpbin/templates/forms-post.html | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 restore at least a minimum forms-post.html

restore UTF 8 demo.patch | (download)

httpbin/templates/UTF-8-demo.txt | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 restore at least a minimal utf-8-demo.txt

brotli.patch | (download)

httpbin/filters.py | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 use brotli instead of brottlicffi

google fonts privacy breach.patch | (download)

httpbin/templates/flasgger/index.html | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 fix google fonts privacy breach

flask 2.3.0.patch | (download)

httpbin/core.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 replace deprecated jsonify_prettyprint_regular usage

This was deprecated in 2.2.0, and is gone in 2.3.0. We already
require 2.2.4 or higher. The deprecation notice says to set
`app.json.compact` instead, so we'll do that!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
remove six.patch | (download)

httpbin/filters.py | 2 1 + 1 - 0 !
httpbin/helpers.py | 3 2 + 1 - 0 !
pyproject.toml | 1 0 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 [patch] cleanup remaining usage of "six"
fix bytes endpoint.patch | (download)

httpbin/core.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] fix /bytes endpoint with newer werkzeug versions

At some point, werkzeug starting checking the inputs to the write()
method, which caused the following traceback:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 364, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 328, in execute
    write(data)
  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 296, in write
    assert isinstance(data, bytes), "applications must write bytes"
AssertionError: applications must write bytes

Fix this by using bytes instead of bytearray.

SyntaxWarning.patch | (download)

httpbin/helpers.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---