From 520f3ce96749d516cf953157bcbb3f2ada3f1e554a50dc3269a7b69694eaad96 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 6 Jun 2016 11:14:05 +0000 Subject: [PATCH 1/2] Accepting request 400003 from home:tbechtold:branches:devel:languages:python - update to 1.6.1: - Response.from_file now parses the status line correctly when the status line contains an HTTP with version, as well as a status text that contains multiple white spaces (e.g 404 Not Found). See https://github.com/Pylons/webob/issues/250 - Python 3.2 is no longer supported by WebOb - Request.decode attempted to read from the an already consumed stream, it has now been redirected to another stream to read from. See https://github.com/Pylons/webob/pull/183 - The application/json media type does not allow for a charset as discovery of the encoding is done at the JSON layer. Upon initialization of a Response WebOb will no longer add a charset if the content-type is set to JSON. See https://github.com/Pylons/webob/pull/197 and https://github.com/Pylons/pyramid/issues/1611 - Lazily HTML escapes environment keys in HTTP Exceptions so that those keys in the environ that are not used in the output of the page don't raise an exception due to inability to be properly escaped. See https://github.com/Pylons/webob/pull/139 - MIMEAccept now accepts comparisons against wildcards, this allows one to match on just the media type or sub-type, without having to explicitly match on both the media type and sub-type at the same time. See https://github.com/Pylons/webob/pull/185 - Add the ability to return a JSON body from an exception. Using the Accept information in the request, the exceptions will now automatically return a JSON version of the exception instead of just HTML or text. See https://github.com/Pylons/webob/pull/230 and https://github.com/Pylons/webob/issues/209 - exc._HTTPMove and any subclasses will now raise a ValueError if the location field contains a line feed or carriage return. These values may lead to possible HTTP Response Splitting. The header_getter descriptor has also been OBS-URL: https://build.opensuse.org/request/show/400003 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=32 --- WebOb-1.5.1.tar.gz | 3 --- WebOb-1.6.1.tar.gz | 3 +++ python-WebOb.changes | 37 +++++++++++++++++++++++++++++++++++++ python-WebOb.spec | 6 +++--- 4 files changed, 43 insertions(+), 6 deletions(-) delete mode 100644 WebOb-1.5.1.tar.gz create mode 100644 WebOb-1.6.1.tar.gz diff --git a/WebOb-1.5.1.tar.gz b/WebOb-1.5.1.tar.gz deleted file mode 100644 index a31b77d..0000000 --- a/WebOb-1.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d8a9a153577f74b275dfd441ee2de4910eb2c1228d94186285684327e3877009 -size 202821 diff --git a/WebOb-1.6.1.tar.gz b/WebOb-1.6.1.tar.gz new file mode 100644 index 0000000..a89460b --- /dev/null +++ b/WebOb-1.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e804c583bd0fb947bd7c03d296942b38b985cf1da4fd82bf879994d29edb21fe +size 204676 diff --git a/python-WebOb.changes b/python-WebOb.changes index 70d36b4..ce09d7d 100644 --- a/python-WebOb.changes +++ b/python-WebOb.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Fri Jun 3 16:30:52 UTC 2016 - tbechtold@suse.com + +- update to 1.6.1: + - Response.from_file now parses the status line correctly when the status line + contains an HTTP with version, as well as a status text that contains + multiple white spaces (e.g 404 Not Found). See + https://github.com/Pylons/webob/issues/250 + - Python 3.2 is no longer supported by WebOb + - Request.decode attempted to read from the an already consumed stream, it has + now been redirected to another stream to read from. See + https://github.com/Pylons/webob/pull/183 + - The application/json media type does not allow for a charset as discovery of + the encoding is done at the JSON layer. Upon initialization of a Response + WebOb will no longer add a charset if the content-type is set to JSON. See + https://github.com/Pylons/webob/pull/197 and + https://github.com/Pylons/pyramid/issues/1611 + - Lazily HTML escapes environment keys in HTTP Exceptions so that those keys in + the environ that are not used in the output of the page don't raise an + exception due to inability to be properly escaped. See + https://github.com/Pylons/webob/pull/139 + - MIMEAccept now accepts comparisons against wildcards, this allows one to + match on just the media type or sub-type, without having to explicitly match + on both the media type and sub-type at the same time. See + https://github.com/Pylons/webob/pull/185 + - Add the ability to return a JSON body from an exception. Using the Accept + information in the request, the exceptions will now automatically return a + JSON version of the exception instead of just HTML or text. See + https://github.com/Pylons/webob/pull/230 and + https://github.com/Pylons/webob/issues/209 + - exc._HTTPMove and any subclasses will now raise a ValueError if the location + field contains a line feed or carriage return. These values may lead to + possible HTTP Response Splitting. The header_getter descriptor has also been + modified to no longer accept headers with a line feed or carriage return. + See: https://github.com/Pylons/webob/pull/229 and + https://github.com/Pylons/webob/issues/217 + ------------------------------------------------------------------- Mon Dec 14 14:38:13 UTC 2015 - aplanas@suse.com diff --git a/python-WebOb.spec b/python-WebOb.spec index 0f8462b..596c65d 100644 --- a/python-WebOb.spec +++ b/python-WebOb.spec @@ -1,7 +1,7 @@ # # spec file for package python-WebOb # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: python-WebOb -Version: 1.5.1 +Version: 1.6.1 Release: 0 Summary: WSGI request and response object License: MIT Group: Development/Languages/Python Url: http://webob.org/ -Source: http://pypi.python.org/packages/source/W/WebOb/WebOb-%{version}.tar.gz +Source: http://pypi.io/packages/source/W/WebOb/WebOb-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools # Test requirements: From ccdad451fdf290069f7c3fd6eed2654dac0b5a0ef25c8784f679ecd76b290d5d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 6 Jun 2016 12:56:01 +0000 Subject: [PATCH 2/2] - fix download url OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=33 --- python-WebOb.changes | 5 +++++ python-WebOb.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-WebOb.changes b/python-WebOb.changes index ce09d7d..f2031bf 100644 --- a/python-WebOb.changes +++ b/python-WebOb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 6 12:55:50 UTC 2016 - dmueller@suse.com + +- fix download url + ------------------------------------------------------------------- Fri Jun 3 16:30:52 UTC 2016 - tbechtold@suse.com diff --git a/python-WebOb.spec b/python-WebOb.spec index 596c65d..d93bd82 100644 --- a/python-WebOb.spec +++ b/python-WebOb.spec @@ -23,7 +23,7 @@ Summary: WSGI request and response object License: MIT Group: Development/Languages/Python Url: http://webob.org/ -Source: http://pypi.io/packages/source/W/WebOb/WebOb-%{version}.tar.gz +Source: https://pypi.io/packages/source/W/WebOb/WebOb-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools # Test requirements: