14
0
forked from pool/python-WebOb

Accepting request 348905 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/348905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebOb?expand=0&rev=19
This commit is contained in:
2015-12-16 16:43:14 +00:00
committed by Git OBS Bridge
4 changed files with 87 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0819838204e2a6823e42bf2227898fdf3f306f7619bf328e25855a0d1ca20399
size 633302

3
WebOb-1.5.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8a9a153577f74b275dfd441ee2de4910eb2c1228d94186285684327e3877009
size 202821

View File

@@ -1,3 +1,85 @@
-------------------------------------------------------------------
Mon Dec 14 14:38:13 UTC 2015 - aplanas@suse.com
- updateto version 1.5.1:
* (Bug Fixes) The exceptions HTTPNotAcceptable,
HTTPUnsupportedMediaType and HTTPNotImplemented will now correctly
use the sub-classed template rather than the default error
template. See https://github.com/Pylons/webob/issues/221
* (Bug Fixes) Responses from_file now correctly deals with a status
line that contains an HTTP version identifier. HTTP/1.1 200 OK is
now correctly parsed, whereas before this would raise an error
upon setting the Response.status in from_file. See
https://github.com/Pylons/webob/issues/121
- 1.5.0
* (Bug Fixes) The cookie API functions will now make sure that
max_age is an integer or an string that can convert to an
integer. Previously passing in max_age=test would have silently
done the wrong thing.
- 1.5.0b0
* (Bug Fixes) Unbreak req.POST when the request method is
PATCH. Instead of returning something cmpletely unrelated we
return NoVar. See: https://github.com/Pylons/webob/pull/215
* (Features) HTTP Status Code 308 is now supported as a Permanent
Redirect. See https://github.com/Pylons/webob/pull/207
- 1.5.0a1
* (Backwards Incompatibilities) Response.set_cookie renamed the only
required parameter from “key” to “name”. The code will now still
accept “key” as a keyword argument, and will issue a
DeprecationWarning until WebOb 1.7.
* (Backwards Incompatibilities) The status attribute of a Response
object no longer takes a string like None None and allows that to
be set as the status. It now has to at least match the pattern of
<integer status code> <explenation of status code>. Invalid status
strings will now raise a ValueError.
- 1.5.0a0
* (Backwards Incompatibilities) Morsel will no longer accept a
cookie value that does not meet RFC6265s cookie-octet
specification. Upon calling Morsel.serialize a warning will be
issued, in the future this will raise a ValueError, please update
your cookie handling code. See
https://github.com/Pylons/webob/pull/172
* (Backwards Incompatibilities) Response.set_cookie now uses the
internal make_cookie API, which will issue warnings if cookies are
set with invalid bytes. See
https://github.com/Pylons/webob/pull/172
* (Features) Add support for some new caching headers,
stale-while-revalidate and stale-if-error that can be used by
reverse proxies to cache stale responses temporarily if the
backend disappears. From RFC5861. See
https://github.com/Pylons/webob/pull/189
* (Bug Fixes) Response.status now uses duck-typing for integers, and
has also learned to raise a ValueError if the status isnt an
integer followed by a space, and then the reason. See
https://github.com/Pylons/webob/pull/191
* (Bug Fixes) Fixed a bug in webob.multidict.GetDict which resulted
in the QUERY_STRING not being updated when changes were made to
query params using Request.GET.extend().
* (Bug Fixes) Read the body of a request if we think it might have a
body. This fixes PATCH to support bodies. See
https://github.com/Pylons/webob/pull/184
* (Bug Fixes) Response.from_file returns HTTP headers as latin1
rather than UTF-8, this fixes the usage on Google AppEngine. See
https://github.com/Pylons/webob/issues/99 and
https://github.com/Pylons/webob/pull/150
* (Bug Fixes) Fix a bug in parsing the auth parameters that
contained bad white space. This makes the parsing fall in line
with whats required in RFC7235. See
https://github.com/Pylons/webob/issues/158
* (Bug Fixes) Use rn line endings in Response.__str__. See:
https://github.com/Pylons/webob/pull/146
* (Documentation Changes) response.set_cookie now has proper
documentation for max_age and expires. The code has also been
refactored to use cookies.make_cookie instead of duplicating the
code. This fixes https://github.com/Pylons/webob/issues/166 and
https://github.com/Pylons/webob/issues/171
* (Documentation Changes) Documentation didnt match the actual code
for the wsgify function signature. See
https://github.com/Pylons/webob/pull/167
* (Documentation Changes) Remove the WebDAV only from certain HTTP
Exceptions, these exceptions may also be used by REST services for
example.
-------------------------------------------------------------------
Mon Sep 15 05:01:59 UTC 2014 - tbechtold@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-WebOb
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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,7 +17,7 @@
Name: python-WebOb
Version: 1.4
Version: 1.5.1
Release: 0
Summary: WSGI request and response object
License: MIT