[Python-modules-commits] [python-webob] 01/03: Import python-webob_1.5.1.orig.tar.gz
Barry Warsaw
barry at moszumanska.debian.org
Wed Nov 18 22:10:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository python-webob.
commit 21027e98cda89aa10f6d20c6bd4dea915aa8d921
Author: Barry Warsaw <barry at python.org>
Date: Wed Nov 18 16:53:45 2015 -0500
Import python-webob_1.5.1.orig.tar.gz
---
.gitignore | 30 ++
.travis.yml | 23 +
CHANGES.txt | 139 ++++++
docs/news.txt => HISTORY.txt | 25 +-
MANIFEST.in | 6 +-
PKG-INFO | 197 +++++++-
README.rst | 37 ++
WebOb.egg-info/PKG-INFO | 197 +++++++-
WebOb.egg-info/SOURCES.txt | 167 +------
WebOb.egg-info/requires.txt | 3 +-
docs/Makefile | 192 ++++++++
docs/_static/.empty | 0
docs/{modules => api}/client.txt | 0
docs/api/cookies.txt | 16 +
docs/{modules => api}/dec.txt | 0
docs/{modules => api}/exceptions.txt | 0
docs/api/multidict.txt | 12 +
docs/api/request.txt | 12 +
docs/api/response.txt | 11 +
docs/{modules => api}/static.txt | 0
docs/{modules => api}/webob.txt | 38 --
docs/changes.txt | 8 +
docs/conf.py | 160 +++++-
docs/differences.txt | 4 +-
docs/do-it-yourself.txt | 48 +-
docs/{ => file-example-code}/test-file.txt | 0
docs/file-example.txt | 11 +-
docs/index.txt | 113 +++--
docs/pycon2011/pycon-py3k-sprint.txt | 75 ---
docs/pycon2011/request_table.rst | 145 ------
docs/pycon2011/response_table.rst | 68 ---
docs/reference.txt | 131 ++---
docs/test_dec.txt | 103 ----
docs/test_request.txt | 544 ---------------------
docs/test_response.txt | 445 -----------------
docs/todo.txt | 7 -
docs/whatsnew-1.5.txt | 112 +++++
rtd.txt | 1 +
setup.cfg | 2 +-
setup.py | 47 +-
tests/__init__.pyc | Bin 135 -> 0 bytes
tests/__pycache__/__init__.cpython-32.pyc | Bin 139 -> 0 bytes
tests/__pycache__/__init__.cpython-33.pyc | Bin 143 -> 0 bytes
tests/__pycache__/__init__.cpython-34.pyc | Bin 131 -> 0 bytes
tests/__pycache__/__init__.pypy3-24.pyc | Bin 139 -> 0 bytes
tests/__pycache__/performance_test.cpython-32.pyc | Bin 2165 -> 0 bytes
tests/__pycache__/performance_test.cpython-33.pyc | Bin 2210 -> 0 bytes
tests/__pycache__/performance_test.cpython-34.pyc | Bin 1718 -> 0 bytes
tests/__pycache__/performance_test.pypy3-24.pyc | Bin 2139 -> 0 bytes
tests/__pycache__/test_acceptparse.cpython-32.pyc | Bin 21143 -> 0 bytes
tests/__pycache__/test_acceptparse.cpython-33.pyc | Bin 22656 -> 0 bytes
tests/__pycache__/test_acceptparse.cpython-34.pyc | Bin 14146 -> 0 bytes
tests/__pycache__/test_acceptparse.pypy3-24.pyc | Bin 20758 -> 0 bytes
tests/__pycache__/test_byterange.cpython-32.pyc | Bin 6506 -> 0 bytes
tests/__pycache__/test_byterange.cpython-33.pyc | Bin 7015 -> 0 bytes
tests/__pycache__/test_byterange.cpython-34.pyc | Bin 4484 -> 0 bytes
tests/__pycache__/test_byterange.pypy3-24.pyc | Bin 6421 -> 0 bytes
tests/__pycache__/test_cachecontrol.cpython-32.pyc | Bin 18457 -> 0 bytes
tests/__pycache__/test_cachecontrol.cpython-33.pyc | Bin 20608 -> 0 bytes
tests/__pycache__/test_cachecontrol.cpython-34.pyc | Bin 12437 -> 0 bytes
tests/__pycache__/test_cachecontrol.pypy3-24.pyc | Bin 18456 -> 0 bytes
tests/__pycache__/test_client.cpython-32.pyc | Bin 16678 -> 0 bytes
tests/__pycache__/test_client.cpython-33.pyc | Bin 19113 -> 0 bytes
tests/__pycache__/test_client.cpython-34.pyc | Bin 11769 -> 0 bytes
tests/__pycache__/test_client.pypy3-24.pyc | Bin 16492 -> 0 bytes
.../test_client_functional.cpython-32.pyc | Bin 4885 -> 0 bytes
.../test_client_functional.cpython-33.pyc | Bin 5062 -> 0 bytes
.../test_client_functional.cpython-34.pyc | Bin 3471 -> 0 bytes
.../test_client_functional.pypy3-24.pyc | Bin 4830 -> 0 bytes
tests/__pycache__/test_compat.cpython-32.pyc | Bin 3756 -> 0 bytes
tests/__pycache__/test_compat.cpython-33.pyc | Bin 4158 -> 0 bytes
tests/__pycache__/test_compat.cpython-34.pyc | Bin 2657 -> 0 bytes
tests/__pycache__/test_compat.pypy3-24.pyc | Bin 3756 -> 0 bytes
tests/__pycache__/test_cookies.cpython-32.pyc | Bin 38843 -> 0 bytes
tests/__pycache__/test_cookies.cpython-33.pyc | Bin 43516 -> 0 bytes
tests/__pycache__/test_cookies.cpython-34.pyc | Bin 28755 -> 0 bytes
tests/__pycache__/test_cookies.pypy3-24.pyc | Bin 38565 -> 0 bytes
tests/__pycache__/test_cookies_bw.cpython-32.pyc | Bin 1624 -> 0 bytes
tests/__pycache__/test_cookies_bw.cpython-33.pyc | Bin 1704 -> 0 bytes
tests/__pycache__/test_cookies_bw.cpython-34.pyc | Bin 1155 -> 0 bytes
tests/__pycache__/test_cookies_bw.pypy3-24.pyc | Bin 1590 -> 0 bytes
.../__pycache__/test_datetime_utils.cpython-32.pyc | Bin 7094 -> 0 bytes
.../__pycache__/test_datetime_utils.cpython-33.pyc | Bin 7513 -> 0 bytes
.../__pycache__/test_datetime_utils.cpython-34.pyc | Bin 5447 -> 0 bytes
tests/__pycache__/test_datetime_utils.pypy3-24.pyc | Bin 7058 -> 0 bytes
tests/__pycache__/test_dec.cpython-32.pyc | Bin 15062 -> 0 bytes
tests/__pycache__/test_dec.cpython-33.pyc | Bin 17475 -> 0 bytes
tests/__pycache__/test_dec.cpython-34.pyc | Bin 11737 -> 0 bytes
tests/__pycache__/test_dec.pypy3-24.pyc | Bin 15030 -> 0 bytes
tests/__pycache__/test_descriptors.cpython-32.pyc | Bin 55654 -> 0 bytes
tests/__pycache__/test_descriptors.cpython-33.pyc | Bin 60438 -> 0 bytes
tests/__pycache__/test_descriptors.cpython-34.pyc | Bin 33937 -> 0 bytes
tests/__pycache__/test_descriptors.pypy3-24.pyc | Bin 55045 -> 0 bytes
tests/__pycache__/test_etag.cpython-32.pyc | Bin 12893 -> 0 bytes
tests/__pycache__/test_etag.cpython-33.pyc | Bin 14497 -> 0 bytes
tests/__pycache__/test_etag.cpython-34.pyc | Bin 9191 -> 0 bytes
tests/__pycache__/test_etag.pypy3-24.pyc | Bin 12794 -> 0 bytes
tests/__pycache__/test_etag_nose.cpython-32.pyc | Bin 4286 -> 0 bytes
tests/__pycache__/test_etag_nose.cpython-33.pyc | Bin 4518 -> 0 bytes
tests/__pycache__/test_etag_nose.cpython-34.pyc | Bin 3120 -> 0 bytes
tests/__pycache__/test_etag_nose.pypy3-24.pyc | Bin 4265 -> 0 bytes
tests/__pycache__/test_exc.cpython-32.pyc | Bin 20984 -> 0 bytes
tests/__pycache__/test_exc.cpython-33.pyc | Bin 24185 -> 0 bytes
tests/__pycache__/test_exc.cpython-34.pyc | Bin 14583 -> 0 bytes
tests/__pycache__/test_exc.pypy3-24.pyc | Bin 20758 -> 0 bytes
tests/__pycache__/test_headers.cpython-32.pyc | Bin 7097 -> 0 bytes
tests/__pycache__/test_headers.cpython-33.pyc | Bin 7788 -> 0 bytes
tests/__pycache__/test_headers.cpython-34.pyc | Bin 4813 -> 0 bytes
tests/__pycache__/test_headers.pypy3-24.pyc | Bin 7090 -> 0 bytes
tests/__pycache__/test_in_wsgiref.cpython-32.pyc | Bin 9652 -> 0 bytes
tests/__pycache__/test_in_wsgiref.cpython-33.pyc | Bin 10086 -> 0 bytes
tests/__pycache__/test_in_wsgiref.cpython-34.pyc | Bin 6590 -> 0 bytes
tests/__pycache__/test_in_wsgiref.pypy3-24.pyc | Bin 9604 -> 0 bytes
tests/__pycache__/test_misc.cpython-32.pyc | Bin 5633 -> 0 bytes
tests/__pycache__/test_misc.cpython-33.pyc | Bin 6089 -> 0 bytes
tests/__pycache__/test_misc.cpython-34.pyc | Bin 4182 -> 0 bytes
tests/__pycache__/test_misc.pypy3-24.pyc | Bin 5450 -> 0 bytes
tests/__pycache__/test_multidict.cpython-32.pyc | Bin 30108 -> 0 bytes
tests/__pycache__/test_multidict.cpython-33.pyc | Bin 33891 -> 0 bytes
tests/__pycache__/test_multidict.cpython-34.pyc | Bin 21657 -> 0 bytes
tests/__pycache__/test_multidict.pypy3-24.pyc | Bin 29912 -> 0 bytes
tests/__pycache__/test_request.cpython-32.pyc | Bin 194312 -> 0 bytes
tests/__pycache__/test_request.cpython-33.pyc | Bin 216001 -> 0 bytes
tests/__pycache__/test_request.cpython-34.pyc | Bin 143808 -> 0 bytes
tests/__pycache__/test_request.pypy3-24.pyc | Bin 191985 -> 0 bytes
tests/__pycache__/test_request_nose.cpython-32.pyc | Bin 11154 -> 0 bytes
tests/__pycache__/test_request_nose.cpython-33.pyc | Bin 12210 -> 0 bytes
tests/__pycache__/test_request_nose.cpython-34.pyc | Bin 7319 -> 0 bytes
tests/__pycache__/test_request_nose.pypy3-24.pyc | Bin 11031 -> 0 bytes
tests/__pycache__/test_response.cpython-32.pyc | Bin 63322 -> 0 bytes
tests/__pycache__/test_response.cpython-33.pyc | Bin 69310 -> 0 bytes
tests/__pycache__/test_response.cpython-34.pyc | Bin 42449 -> 0 bytes
tests/__pycache__/test_response.pypy3-24.pyc | Bin 62449 -> 0 bytes
tests/__pycache__/test_static.cpython-32.pyc | Bin 14568 -> 0 bytes
tests/__pycache__/test_static.cpython-33.pyc | Bin 16107 -> 0 bytes
tests/__pycache__/test_static.cpython-34.pyc | Bin 10739 -> 0 bytes
tests/__pycache__/test_static.pypy3-24.pyc | Bin 14505 -> 0 bytes
tests/__pycache__/test_transcode.cpython-32.pyc | Bin 3939 -> 0 bytes
tests/__pycache__/test_transcode.cpython-33.pyc | Bin 4162 -> 0 bytes
tests/__pycache__/test_transcode.cpython-34.pyc | Bin 2904 -> 0 bytes
tests/__pycache__/test_transcode.pypy3-24.pyc | Bin 3942 -> 0 bytes
tests/__pycache__/test_util.cpython-32.pyc | Bin 6165 -> 0 bytes
tests/__pycache__/test_util.cpython-33.pyc | Bin 7151 -> 0 bytes
tests/__pycache__/test_util.cpython-34.pyc | Bin 4763 -> 0 bytes
tests/__pycache__/test_util.pypy3-24.pyc | Bin 6067 -> 0 bytes
tests/performance_test.pyc | Bin 1986 -> 0 bytes
tests/test_acceptparse.pyc | Bin 17906 -> 0 bytes
tests/test_byterange.pyc | Bin 5534 -> 0 bytes
tests/test_cachecontrol.pyc | Bin 14378 -> 0 bytes
tests/test_client.pyc | Bin 12406 -> 0 bytes
tests/test_client_functional.pyc | Bin 4272 -> 0 bytes
tests/test_compat.pyc | Bin 3032 -> 0 bytes
tests/test_cookies.py | 80 ++-
tests/test_cookies.pyc | Bin 31571 -> 0 bytes
tests/test_cookies_bw.py | 28 ++
tests/test_cookies_bw.pyc | Bin 1445 -> 0 bytes
tests/test_datetime_utils.pyc | Bin 6320 -> 0 bytes
tests/test_dec.pyc | Bin 12375 -> 0 bytes
tests/test_descriptors.py | 4 +
tests/test_descriptors.pyc | Bin 41325 -> 0 bytes
tests/test_etag.pyc | Bin 10324 -> 0 bytes
tests/test_etag_nose.pyc | Bin 3742 -> 0 bytes
tests/test_exc.py | 144 ++++--
tests/test_exc.pyc | Bin 16415 -> 0 bytes
tests/test_headers.pyc | Bin 5894 -> 0 bytes
tests/test_in_wsgiref.pyc | Bin 8353 -> 0 bytes
tests/test_misc.pyc | Bin 4976 -> 0 bytes
tests/test_multidict.py | 107 ++--
tests/test_multidict.pyc | Bin 24185 -> 0 bytes
tests/test_request.py | 13 +
tests/test_request.pyc | Bin 151841 -> 0 bytes
tests/test_request_nose.pyc | Bin 8973 -> 0 bytes
tests/test_response.py | 103 +++-
tests/test_response.pyc | Bin 49778 -> 0 bytes
tests/test_static.pyc | Bin 11856 -> 0 bytes
tests/test_transcode.pyc | Bin 3478 -> 0 bytes
tests/test_util.pyc | Bin 5074 -> 0 bytes
tox.ini | 64 +++
toxfast.ini | 10 +
webob/cachecontrol.py | 3 +
webob/compat.py | 63 +++
webob/cookies.py | 122 +++--
webob/descriptors.py | 6 +-
webob/exc.py | 35 +-
webob/multidict.py | 9 +-
webob/request.py | 14 +-
webob/response.py | 141 +++---
webob/util.py | 1 +
188 files changed, 2037 insertions(+), 2039 deletions(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..09c1882
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,30 @@
+*$py.class
+*,cover
+*.egg
+*.pyc
+*.pyo
+*.swp
+*_coverage/**
+*_fixt.py
+*~
+.*.swp
+.coverage
+.coverage.*
+.tox/
+Session.vim
+TEST*
+WebOb.egg-info
+__pycache__/
+_website/
+build/
+coverage-*.xml
+coverage.xml
+coverage.xml
+dist/
+docs/_build/*
+env*/
+glob:_coverage
+nosetests-*.xml
+nosetests.xml
+nosetests.xml
+testenv
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..4e29e7a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+# Wire up travis
+language: python
+sudo: false
+
+env:
+ - TOXENV=py26
+ - TOXENV=py27
+ - TOXENV=py32
+ - TOXENV=py33
+ - TOXENV=py34
+ - TOXENV=pypy
+ - TOXENV=pypy3
+ - TOXENV=py2-cover,py3-cover,coverage
+
+install:
+ - travis_retry pip install tox
+
+script:
+ - travis_retry tox
+
+notifications:
+ email:
+ - pyramid-checkins at lists.repoze.org
diff --git a/CHANGES.txt b/CHANGES.txt
new file mode 100644
index 0000000..c28924f
--- /dev/null
+++ b/CHANGES.txt
@@ -0,0 +1,139 @@
+1.5.1 (2015-10-30)
+------------------
+
+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
+
+- Response's 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 (2015-10-11)
+------------------
+
+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 (2015-09-06)
+--------------------
+
+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 (2015-07-30)
+--------------------
+
+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.
+
+- 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 (2015-07-25)
+--------------------
+
+Backwards Incompatibilities
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+- ``Morsel`` will no longer accept a cookie value that does not meet RFC6265's
+ 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
+
+ The cookie-octet specification in RFC6265 states the following characters are
+ valid in a cookie value:
+
+ =============== =======================================
+ Hex Range Actual Characters
+ =============== =======================================
+ ``[0x21 ]`` ``!``
+ ``[0x25-0x2B]`` ``#$%&'()*+``
+ ``[0x2D-0x3A]`` ``-./0123456789:``
+ ``[0x3C-0x5B]`` ``<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[``
+ ``[0x5D-0x7E]`` ``]^_`abcdefghijklmnopqrstuvwxyz{|}~``
+ =============== =======================================
+
+ RFC6265 suggests using base 64 to serialize data before storing data in a
+ cookie.
+
+ Cookies that meet the RFC6265 standard will no longer be quoted, as this is
+ unnecessary. This is a no-op as far as browsers and cookie storage is
+ concerned.
+
+- ``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 isn't an integer followed by a space, and
+ then the reason. See https://github.com/Pylons/webob/pull/191
+
+- 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()``.
+
+- 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
+
+- 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
+
+- Fix a bug in parsing the auth parameters that contained bad white space. This
+ makes the parsing fall in line with what's required in RFC7235. See
+ https://github.com/Pylons/webob/issues/158
+
+- Use '\r\n' 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 didn't match the actual code for the wsgify function signature.
+ See https://github.com/Pylons/webob/pull/167
+
+- Remove the WebDAV only from certain HTTP Exceptions, these exceptions may
+ also be used by REST services for example.
diff --git a/docs/news.txt b/HISTORY.txt
similarity index 98%
rename from docs/news.txt
rename to HISTORY.txt
index 4335ed1..a024188 100644
--- a/docs/news.txt
+++ b/HISTORY.txt
@@ -1,27 +1,3 @@
-News
-====
-
-1.4.1 (2015-04-14)
-------------------
-
-Bug Fixes
-~~~~~~~~~
-
-- Request.body would get mangled if the body was JSON but the right
- content_type was not set. See https://github.com/Pylons/webob/pull/192
-
-- 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
-
-Documentation Changes
-~~~~~~~~~~~~~~~~~~~~~
-
-- Documentation didn't match the actual code for the wsgify function signature.
- See https://github.com/Pylons/webob/pull/167
-
-- Remove the WebDAV only from certain HTTP Exceptions, these exceptions may
- also be used by REST services for example.
-
1.4 (2014-05-14)
----------------
@@ -1122,3 +1098,4 @@ Bugfixes and Small Changes
First release. Nothing is new, or everything is new, depending on how
you think about it.
+
diff --git a/MANIFEST.in b/MANIFEST.in
index 19f0b3e..f6b5d87 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,6 @@
recursive-include tests *
+recursive-exclude tests *.pyc
+recursive-exclude tests *.pyo
recursive-include docs *
-prune *.pyc
-prune *.pyo
\ No newline at end of file
+recursive-exclude docs *.pyc
+recursive-exclude docs *.pyo
diff --git a/PKG-INFO b/PKG-INFO
index 9b235c3..044541a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,28 +1,189 @@
Metadata-Version: 1.1
Name: WebOb
-Version: 1.4.1
+Version: 1.5.1
Summary: WSGI request and response object
Home-page: http://webob.org/
Author: Pylons Project
Author-email: ianb at colorstudy.com
License: MIT
-Description: WebOb provides wrappers around the WSGI request environment, and an
- object to help create WSGI responses.
-
- The objects map much of the specified behavior of HTTP, including
- header parsing and accessors for other standard parts of the
- environment.
-
- You may install the `in-development version of WebOb
- <https://github.com/Pylons/webob/zipball/master#egg=WebOb-dev>`_ with
- ``pip install WebOb==dev`` (or ``easy_install WebOb==dev``).
-
- * `WebOb reference <http://docs.webob.org/en/latest/reference.html>`_
- * `Bug tracker <https://github.com/Pylons/webob/issues>`_
- * `Browse source code <https://github.com/Pylons/webob>`_
- * `Mailing list <http://bit.ly/paste-users>`_
- * `Release news <http://docs.webob.org/en/latest/news.html>`_
- * `Detailed changelog <https://github.com/Pylons/webob/commits/master>`_
+Description: WebOb
+ =====
+
+ .. image:: https://travis-ci.org/Pylons/webob.png?branch=master
+ :target: https://travis-ci.org/Pylons/webob
+
+ .. image:: https://readthedocs.org/projects/webob/badge/?version=latest
+ :target: http://docs.pylonsproject.org/projects/webob/en/latest/
+ :alt: Documentation Status
+
+ WebOb provides objects for HTTP requests and responses. Specifically
+ it does this by wrapping the `WSGI <http://wsgi.org>`_ request
+ environment and response status/headers/app_iter(body).
+
+ The request and response objects provide many conveniences for parsing
+ HTTP request and forming HTTP responses. Both objects are read/write:
+ as a result, WebOb is also a nice way to create HTTP requests and
+ parse HTTP responses.
+
+ Support and Documentation
+ -------------------------
+
+ See the `WebOb Documentation website <http://webob.readthedocs.org/>`_ to view
+ documentation, report bugs, and obtain support.
+
+ License
+ -------
+
+ WebOb is offered under the `MIT-license
+ <http://webob.readthedocs.org/en/latest/license.html>`_.
+
+ Authors
+ -------
+
+ WebOb was authored by Ian Bicking and is currently maintained by the `Pylons
+ Project <http://pylonsproject.org/>`_ and a team of contributors.
+
+
+
+ 1.5.1 (2015-10-30)
+ ------------------
+
+ 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
+
+ - Response's 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 (2015-10-11)
+ ------------------
+
+ 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 (2015-09-06)
+ --------------------
+
+ 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 (2015-07-30)
+ --------------------
+
+ 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.
+
+ - 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 (2015-07-25)
+ --------------------
+
+ Backwards Incompatibilities
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ - ``Morsel`` will no longer accept a cookie value that does not meet RFC6265's
+ 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
+
+ The cookie-octet specification in RFC6265 states the following characters are
+ valid in a cookie value:
+
+ =============== =======================================
+ Hex Range Actual Characters
+ =============== =======================================
+ ``[0x21 ]`` ``!``
+ ``[0x25-0x2B]`` ``#$%&'()*+``
+ ``[0x2D-0x3A]`` ``-./0123456789:``
+ ``[0x3C-0x5B]`` ``<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[``
+ ``[0x5D-0x7E]`` ``]^_`abcdefghijklmnopqrstuvwxyz{|}~``
+ =============== =======================================
+
+ RFC6265 suggests using base 64 to serialize data before storing data in a
+ cookie.
+
+ Cookies that meet the RFC6265 standard will no longer be quoted, as this is
+ unnecessary. This is a no-op as far as browsers and cookie storage is
+ concerned.
+
+ - ``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 isn't an integer followed by a space, and
+ then the reason. See https://github.com/Pylons/webob/pull/191
+
+ - 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()``.
+
+ - 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
+
+ - 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
+
+ - Fix a bug in parsing the auth parameters that contained bad white space. This
+ makes the parsing fall in line with what's required in RFC7235. See
+ https://github.com/Pylons/webob/issues/158
+
+ - Use '\r\n' 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 didn't match the actual code for the wsgify function signature.
+ See https://github.com/Pylons/webob/pull/167
+
+ - Remove the WebDAV only from certain HTTP Exceptions, these exceptions may
+ also be used by REST services for example.
Keywords: wsgi request web http
Platform: UNKNOWN
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..bdca2b8
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,37 @@
+WebOb
+=====
+
+.. image:: https://travis-ci.org/Pylons/webob.png?branch=master
+ :target: https://travis-ci.org/Pylons/webob
+
+.. image:: https://readthedocs.org/projects/webob/badge/?version=latest
+ :target: http://docs.pylonsproject.org/projects/webob/en/latest/
+ :alt: Documentation Status
+
+WebOb provides objects for HTTP requests and responses. Specifically
+it does this by wrapping the `WSGI <http://wsgi.org>`_ request
+environment and response status/headers/app_iter(body).
+
+The request and response objects provide many conveniences for parsing
+HTTP request and forming HTTP responses. Both objects are read/write:
+as a result, WebOb is also a nice way to create HTTP requests and
+parse HTTP responses.
+
+Support and Documentation
+-------------------------
+
+See the `WebOb Documentation website <http://webob.readthedocs.org/>`_ to view
+documentation, report bugs, and obtain support.
+
+License
+-------
+
+WebOb is offered under the `MIT-license
+<http://webob.readthedocs.org/en/latest/license.html>`_.
+
+Authors
+-------
+
+WebOb was authored by Ian Bicking and is currently maintained by the `Pylons
+Project <http://pylonsproject.org/>`_ and a team of contributors.
+
diff --git a/WebOb.egg-info/PKG-INFO b/WebOb.egg-info/PKG-INFO
index 9b235c3..044541a 100644
--- a/WebOb.egg-info/PKG-INFO
+++ b/WebOb.egg-info/PKG-INFO
@@ -1,28 +1,189 @@
Metadata-Version: 1.1
Name: WebOb
-Version: 1.4.1
+Version: 1.5.1
Summary: WSGI request and response object
Home-page: http://webob.org/
Author: Pylons Project
Author-email: ianb at colorstudy.com
License: MIT
-Description: WebOb provides wrappers around the WSGI request environment, and an
- object to help create WSGI responses.
-
- The objects map much of the specified behavior of HTTP, including
- header parsing and accessors for other standard parts of the
- environment.
-
- You may install the `in-development version of WebOb
- <https://github.com/Pylons/webob/zipball/master#egg=WebOb-dev>`_ with
- ``pip install WebOb==dev`` (or ``easy_install WebOb==dev``).
-
- * `WebOb reference <http://docs.webob.org/en/latest/reference.html>`_
- * `Bug tracker <https://github.com/Pylons/webob/issues>`_
- * `Browse source code <https://github.com/Pylons/webob>`_
- * `Mailing list <http://bit.ly/paste-users>`_
- * `Release news <http://docs.webob.org/en/latest/news.html>`_
- * `Detailed changelog <https://github.com/Pylons/webob/commits/master>`_
+Description: WebOb
+ =====
+
+ .. image:: https://travis-ci.org/Pylons/webob.png?branch=master
+ :target: https://travis-ci.org/Pylons/webob
+
+ .. image:: https://readthedocs.org/projects/webob/badge/?version=latest
+ :target: http://docs.pylonsproject.org/projects/webob/en/latest/
+ :alt: Documentation Status
+
+ WebOb provides objects for HTTP requests and responses. Specifically
+ it does this by wrapping the `WSGI <http://wsgi.org>`_ request
+ environment and response status/headers/app_iter(body).
+
+ The request and response objects provide many conveniences for parsing
+ HTTP request and forming HTTP responses. Both objects are read/write:
+ as a result, WebOb is also a nice way to create HTTP requests and
+ parse HTTP responses.
+
+ Support and Documentation
+ -------------------------
+
+ See the `WebOb Documentation website <http://webob.readthedocs.org/>`_ to view
+ documentation, report bugs, and obtain support.
+
+ License
+ -------
+
+ WebOb is offered under the `MIT-license
+ <http://webob.readthedocs.org/en/latest/license.html>`_.
+
+ Authors
+ -------
+
+ WebOb was authored by Ian Bicking and is currently maintained by the `Pylons
+ Project <http://pylonsproject.org/>`_ and a team of contributors.
+
+
+
+ 1.5.1 (2015-10-30)
+ ------------------
+
+ 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
+
+ - Response's 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 (2015-10-11)
+ ------------------
+
+ 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 (2015-09-06)
+ --------------------
+
+ 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 (2015-07-30)
+ --------------------
+
+ 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.
+
+ - 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 (2015-07-25)
+ --------------------
+
+ Backwards Incompatibilities
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ - ``Morsel`` will no longer accept a cookie value that does not meet RFC6265's
+ 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
+
+ The cookie-octet specification in RFC6265 states the following characters are
+ valid in a cookie value:
+
+ =============== =======================================
+ Hex Range Actual Characters
+ =============== =======================================
+ ``[0x21 ]`` ``!``
+ ``[0x25-0x2B]`` ``#$%&'()*+``
+ ``[0x2D-0x3A]`` ``-./0123456789:``
+ ``[0x3C-0x5B]`` ``<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[``
+ ``[0x5D-0x7E]`` ``]^_`abcdefghijklmnopqrstuvwxyz{|}~``
+ =============== =======================================
+
+ RFC6265 suggests using base 64 to serialize data before storing data in a
+ cookie.
+
+ Cookies that meet the RFC6265 standard will no longer be quoted, as this is
+ unnecessary. This is a no-op as far as browsers and cookie storage is
+ concerned.
+
+ - ``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 isn't an integer followed by a space, and
+ then the reason. See https://github.com/Pylons/webob/pull/191
+
+ - 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()``.
+
+ - 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
+
+ - 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
+
+ - Fix a bug in parsing the auth parameters that contained bad white space. This
+ makes the parsing fall in line with what's required in RFC7235. See
+ https://github.com/Pylons/webob/issues/158
+
+ - Use '\r\n' 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 didn't match the actual code for the wsgify function signature.
+ See https://github.com/Pylons/webob/pull/167
+
+ - Remove the WebDAV only from certain HTTP Exceptions, these exceptions may
+ also be used by REST services for example.
Keywords: wsgi request web http
Platform: UNKNOWN
diff --git a/WebOb.egg-info/SOURCES.txt b/WebOb.egg-info/SOURCES.txt
index 7fd6d14..23fd380 100644
--- a/WebOb.egg-info/SOURCES.txt
+++ b/WebOb.egg-info/SOURCES.txt
@@ -1,12 +1,22 @@
+.gitignore
+.travis.yml
+CHANGES.txt
+HISTORY.txt
MANIFEST.in
+README.rst
+rtd.txt
setup.cfg
setup.py
+tox.ini
+toxfast.ini
WebOb.egg-info/PKG-INFO
WebOb.egg-info/SOURCES.txt
WebOb.egg-info/dependency_links.txt
WebOb.egg-info/requires.txt
WebOb.egg-info/top_level.txt
WebOb.egg-info/zip-safe
+docs/Makefile
+docs/changes.txt
docs/comment-example.txt
docs/conf.py
docs/differences.txt
@@ -16,183 +26,52 @@ docs/file-example.txt
docs/index.txt
docs/jsonrpc-example.txt
docs/license.txt
-docs/news.txt
docs/reference.txt
-docs/test-file.txt
-docs/test_dec.txt
-docs/test_request.txt
-docs/test_response.txt
-docs/todo.txt
+docs/whatsnew-1.5.txt
docs/wiki-example.txt
+docs/_static/.empty
+docs/api/client.txt
+docs/api/cookies.txt
+docs/api/dec.txt
+docs/api/exceptions.txt
+docs/api/multidict.txt
+docs/api/request.txt
+docs/api/response.txt
+docs/api/static.txt
+docs/api/webob.txt
docs/comment-example-code/example.py
+docs/file-example-code/test-file.txt
docs/jsonrpc-example-code/jsonrpc.py
docs/jsonrpc-example-code/test_jsonrpc.py
docs/jsonrpc-example-code/test_jsonrpc.txt
-docs/modules/client.txt
-docs/modules/dec.txt
-docs/modules/exceptions.txt
-docs/modules/static.txt
-docs/modules/webob.txt
-docs/pycon2011/pycon-py3k-sprint.txt
-docs/pycon2011/request_table.rst
-docs/pycon2011/response_table.rst
docs/wiki-example-code/example.py
tests/__init__.py
-tests/__init__.pyc
tests/conftest.py
tests/performance_test.py
-tests/performance_test.pyc
tests/test_acceptparse.py
-tests/test_acceptparse.pyc
tests/test_byterange.py
-tests/test_byterange.pyc
... 5164 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-webob.git
More information about the Python-modules-commits
mailing list