a7614cdaa5
Accepting request 1230046 from devel:languages:python
Ana Guerrero2024-12-13 21:31:11 +00:00
52c2e3368c
Accepting request 1230025 from home:glaubitz:branches:devel:languages:python
Markéta Machová2024-12-11 09:55:42 +00:00
32ba1759f7
Accepting request 1208518 from devel:languages:python
Ana Guerrero2024-10-18 13:52:50 +00:00
fda2a8ff2e
- Add patch support-python-313.patch: * Add legacy-cgi to install_requires to support Python 3.13. - Switch to autosetup macro.
Steve Kowalik2024-10-16 23:01:46 +00:00
d7341db0db
Accepting request 1194616 from devel:languages:python
Ana Guerrero2024-08-20 14:12:34 +00:00
fc599474c2
- Update to 1.8.8: * The use of WebOb's Response object to redirect a request to a new location can lead to an open redirect if the Location header is not a full URI. (bsc#1229221, CVE-2024-42353) - Drop Python 2 blocks in the spec file. - Switch to pyproject macros.
Steve Kowalik2024-08-19 03:30:43 +00:00
c9c41f6ea0
Accepting request 1100879 from devel:languages:python
Ana Guerrero2023-07-27 14:50:09 +00:00
008ef9d7f2
Accepting request 1100758 from home:bmwiedemann:branches:devel:languages:python
Matej Cepl2023-07-26 14:28:52 +00:00
0012c78feb
Accepting request 880296 from home:bnavigator:branches:devel:languages:python
Dirk Mueller2021-03-22 14:49:54 +00:00
d244873f10
Accepting request 876093 from devel:languages:python
Richard Brown
2021-03-05 12:43:11 +00:00
08a2f718b6
- update to 1.8.7: - Decoding deflate-encoded responses now supports data which is packed in a zlib container as it is supposed to be. The old, non-standard behaviour is still supported.
Dirk Mueller2021-03-02 00:33:43 +00:00
c3276ed32d
- update to 1.8.5: - Fixed one last remaining invalid escape sequence in a docstring. - Response.content_type now accepts unicode strings on Python 2 and encodes them to latin-1. - Accept header classes now support a .copy() function that may be used to create a copy. This allows `create_accept_header and other like functions to accept an pre-existing Accept header. - Some backslashes introduced with the new accept handling code were causing DeprecationWarnings upon compiling the source to pyc files, all of the backslashes have been reigned in as appropriate, and users should no longer see DeprecationWarnings for invalid escape sequence. - acceptparse.AcceptValidHeader, acceptparse.AcceptInvalidHeader, and acceptparse.AcceptNoHeader will now always ignore offers that do not match the required media type grammar when calling .acceptable_offers(). Previous versions raised a ValueError for invalid offers in AcceptValidHeader and returned them as acceptable in the others. - Add Request.remote_host, exposing REMOTE_HOST environment variable. - Added acceptparse.Accept.parse_offer to codify what types of offers are compatible with acceptparse.AcceptValidHeader.acceptable_offers, acceptparse.AcceptMissingHeader.acceptable_offers, and acceptparse.AcceptInvalidHeader.acceptable_offers. This API also normalizes the offer with lowercased type/subtype and parameter names. - SameSite may now be passed as str or bytes to Response.set_cookie and cookies.make_cookie. This was an oversight as all other arguments would be correctly coerced before being serialized. - acceptparse.MIMEAccept which is deprecated in WebOb 1.8.0 made a backwards incompatible change that led to it raising on an invalid Accept header. This behaviour has now been reversed, as well as some other fixes to allow MIMEAccept to behave more like the old version. - request.POST` now supports any requests with the appropriate
Thomas Bechtold2019-01-07 09:57:14 +00:00
6b93b077b9
- Drop not needed python-pytest-cov BuildRequires
Thomas Bechtold2018-02-23 19:55:39 +00:00
ccb6142826
- update to 1.7.4: - Add support for wsgi.input_terminated in the wsgi environ to allow for Chunked Encoding to be used with WebOb
Thomas Bechtold2018-02-23 13:58:33 +00:00
fa732c2f16
Accepting request 508803 from devel:languages:python
Yuchen Lin2017-08-04 09:58:54 +00:00
9e8e0a8a84
Accepting request 508590 from home:tbechtold:branches:devel:languages:python
Thomas Bechtold2017-07-07 13:03:48 +00:00
dbd1ab5a85
- update to 1.6.2: * WebOb's exceptions will lazily read underlying variables when inserted into templates to avoid expensive computations/crashes when inserting into the template. This had a bad performance regression on Py27 because of the way the lazified class was created and returned. See https://github.com/Pylons/webob/pull/284Dirk Mueller2016-10-15 09:38:23 +00:00
947adfbe7e
- (Build)Require python-pyOpenSSL instead of M2Crypto (to get the ssl Python base module)
Sascha Peilicke
2013-01-14 15:11:24 +00:00
9a72036ba6
Accepting request 142550 from devel:languages:python
Stephan Kulow
2012-11-28 13:35:30 +00:00
16e2866d4f
- Add dependency on python-M2Crypto, otherwise you won't get HTTPS
Sascha Peilicke
2012-11-23 09:46:52 +00:00
fe03e534be
- Update to version 1.2.3: + Fix parsing of form submissions where fields have transfer-content-encoding headers. - Build HTML documentation - Run testsuite - Split of doc package
Sascha Peilicke
2012-11-22 15:07:19 +00:00
de0002e460
Accepting request 135430 from devel:languages:python
Stephan Kulow
2012-09-23 19:10:19 +00:00
97077b7ee9
- Spec cleanup: * Simplified macro usage * Remove unneeded runtime requirement on python-nose * Run testsuite - Update to version 1.2b2: * Fix request.cookies.get('name', 'default'). Previously default was ignored. - Changes from version 1.2b1: * Mutating the request.cookies property now reflects the mutations into the HTTP_COOKIES environ header. * Response.etag = (tag, False) sets weak etag. * Range only parses single range now. * Range.satisfiable(..) is gone. * Accept.best_matches() is gone; use list(request.accept) or request.accept.best_match(..) instead (applies to all Accept-* headers) or similar with request.accept_language. * Response.request and Response.environ attrs are undeprecated and no longer raise exceptions when used. These can also be passed to the Response constructor. This is to support codebases that pass them to the constructor or assign them to a response instance. However, some behavior differences from 1.1 exist. In particular, synchronization is no longer done between environ and request attribute properties of Response; you may pass either to the constructor (or both) or assign one or the other or both, but they wont be managed specially and will remain the same over the lifetime of the response just as you passed them. Default values for both request and environ on any given response are None now. * Undeprecated uscript_name and upath_info. * For backwards compatibility purposes, switch req.script_name and path_info back again to contain “raw” undecoded native strings rather than text. Use uscript_name and upath_info to get the text version of SCRIPT_NAME and PATH_INFO. * Don’t raise an exception if unicode_errors or decode_param_names is passed to the Request constructor. Instead, emit a warning. For benefit of Pylons 1.X, which passes both. * Don’t raise an exception if HTTPException.exception is used; instead emit a warning. For benefit of Pylons 1.X, which uses it.
Sascha Peilicke
2012-01-31 13:46:38 +00:00
56ccb612a7
Accepting request 125112 from devel:languages:python
Stephan Kulow
2012-06-26 15:26:20 +00:00
0f23de1d77
Accepting request 102223 from devel:languages:python
Stephan Kulow
2012-02-01 09:00:05 +00:00
8127edd389
Accepting request 94117 from devel:languages:python
Stephan Kulow
2011-12-06 12:53:36 +00:00