Commits

Mikhail Korobov committed a4a4efd

Some info about recent changes

Comments (0)

Files changed (2)

 ``response.body``:
     The text body of the response.
 
+``response.unicode_body``:
+    The unicode text body of the response.
+
 ``response.request``:
     The `webob.Request object
     <http://pythonpaste.org/webob/#request>`_ used to generate this
     >>> res = TestResponse(content_type='application/json',
     ...                    body='{"a":1,"b":2}')
     >>> res.json
-    {u'a': 1, u'b': 2}
+    {'a': 1, 'b': 2}
     >>> res = TestResponse(content_type='application/xml',
     ...                    body='<xml><message>hey!</message></xml>')
     >>> res.xml
 
 * Include tests and docs in tarball.
 
+* Fix file upload fields in forms: allow upload field to be empty.
+
+* Added support for single-quoted html attributes.
+
+* `TestResponse` now has unicode support. It is turned on by default
+  for all responses with charset information. **This is backward
+  incompatible change** if you rely (e.g. in doctests) on parsed
+  form fields or responses returned by `json` and `lxml` methods
+  being encoded strings when charset header is in response. In order
+  to switch to old behaviour pass `use_unicode=False` flag to
+  `TestApp` constructor.
+
+
 1.2.1
 -----