forked from pool/python-WebOb
Accepting request 400278 from devel:languages:python
- fix download url
- 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
OBS-URL: https://build.opensuse.org/request/show/400278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebOb?expand=0&rev=20
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8a9a153577f74b275dfd441ee2de4910eb2c1228d94186285684327e3877009
|
||||
size 202821
|
||||
3
WebOb-1.6.1.tar.gz
Normal file
3
WebOb-1.6.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e804c583bd0fb947bd7c03d296942b38b985cf1da4fd82bf879994d29edb21fe
|
||||
size 204676
|
||||
@@ -1,3 +1,45 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- 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
|
||||
|
||||
|
||||
@@ -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: https://pypi.io/packages/source/W/WebOb/WebOb-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# Test requirements:
|
||||
|
||||
Reference in New Issue
Block a user