~ubuntu-branches/ubuntu/quantal/python-webob/quantal

« back to all changes in this revision

Viewing changes to docs/_build/news.html

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2010-10-22 12:18:36 UTC
  • mfrom: (7.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20101022121836-ydrnvp8agvugw3ga
Tags: 1.0-1
* New upstream release
* add_docs_conf.patch removed (no longer needed)
* Fix /usr/share/doc/python-paste/docs dir name (webob instead of weberror
* Bump Standards-Version to 3.9.1 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
  <head>
6
6
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
7
    
8
 
    <title>News &mdash; WebOb v0.9.7 documentation</title>
 
8
    <title>News &mdash; WebOb v0.9.8 documentation</title>
9
9
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
10
10
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
11
11
    <script type="text/javascript">
12
12
      var DOCUMENTATION_OPTIONS = {
13
13
        URL_ROOT:    '',
14
 
        VERSION:     '0.9.7',
 
14
        VERSION:     '0.9.8',
15
15
        COLLAPSE_MODINDEX: false,
16
16
        FILE_SUFFIX: '.html',
17
17
        HAS_SOURCE:  true
19
19
    </script>
20
20
    <script type="text/javascript" src="_static/jquery.js"></script>
21
21
    <script type="text/javascript" src="_static/doctools.js"></script>
22
 
    <link rel="top" title="WebOb v0.9.7 documentation" href="index.html" />
 
22
    <link rel="top" title="WebOb v0.9.8 documentation" href="index.html" />
23
23
    <link rel="next" title="License" href="license.html" />
24
24
    <link rel="prev" title="Another Do-It-Yourself Framework" href="do-it-yourself.html" /> 
25
25
  </head>
39
39
        <li class="right" >
40
40
          <a href="do-it-yourself.html" title="Another Do-It-Yourself Framework"
41
41
             accesskey="P">previous</a> |</li>
42
 
        <li><a href="index.html">WebOb v0.9.7 documentation</a> &raquo;</li> 
 
42
        <li><a href="index.html">WebOb v0.9.8 documentation</a> &raquo;</li> 
43
43
      </ul>
44
44
    </div>  
45
45
 
49
49
          <div class="body">
50
50
            
51
51
  <div class="section" id="news">
52
 
<h1><a class="toc-backref" href="#id16">News</a><a class="headerlink" href="#news" title="Permalink to this headline">¶</a></h1>
53
 
<div class="contents topic">
54
 
<p class="topic-title first"><a id="contents" name="contents">Contents</a></p>
 
52
<h1><a class="toc-backref" href="#id18">News</a><a class="headerlink" href="#news" title="Permalink to this headline">¶</a></h1>
 
53
<div class="contents topic" id="contents">
 
54
<p class="topic-title first">Contents</p>
55
55
<ul class="simple">
56
 
<li><a class="reference" href="#news" id="id16" name="id16">News</a><ul>
57
 
<li><a class="reference" href="#id1" id="id17" name="id17">0.9.7</a></li>
58
 
<li><a class="reference" href="#id2" id="id18" name="id18">0.9.6.1</a></li>
59
 
<li><a class="reference" href="#id3" id="id19" name="id19">0.9.6</a></li>
60
 
<li><a class="reference" href="#id4" id="id20" name="id20">0.9.5</a></li>
61
 
<li><a class="reference" href="#id5" id="id21" name="id21">0.9.4</a></li>
62
 
<li><a class="reference" href="#id6" id="id22" name="id22">0.9.3</a></li>
63
 
<li><a class="reference" href="#id7" id="id23" name="id23">0.9.2</a></li>
64
 
<li><a class="reference" href="#id8" id="id24" name="id24">0.9.1</a></li>
65
 
<li><a class="reference" href="#id9" id="id25" name="id25">0.9</a><ul>
66
 
<li><a class="reference" href="#backward-incompatible-changes" id="id26" name="id26">Backward Incompatible Changes</a></li>
67
 
<li><a class="reference" href="#bugfixes-and-small-changes" id="id27" name="id27">Bugfixes and Small Changes</a></li>
 
56
<li><a class="reference internal" href="#news" id="id18">News</a><ul>
 
57
<li><a class="reference internal" href="#id1" id="id19">0.9.8</a></li>
 
58
<li><a class="reference internal" href="#id2" id="id20">0.9.7.1</a></li>
 
59
<li><a class="reference internal" href="#id3" id="id21">0.9.7</a></li>
 
60
<li><a class="reference internal" href="#id4" id="id22">0.9.6.1</a></li>
 
61
<li><a class="reference internal" href="#id5" id="id23">0.9.6</a></li>
 
62
<li><a class="reference internal" href="#id6" id="id24">0.9.5</a></li>
 
63
<li><a class="reference internal" href="#id7" id="id25">0.9.4</a></li>
 
64
<li><a class="reference internal" href="#id8" id="id26">0.9.3</a></li>
 
65
<li><a class="reference internal" href="#id9" id="id27">0.9.2</a></li>
 
66
<li><a class="reference internal" href="#id10" id="id28">0.9.1</a></li>
 
67
<li><a class="reference internal" href="#id11" id="id29">0.9</a><ul>
 
68
<li><a class="reference internal" href="#backward-incompatible-changes" id="id30">Backward Incompatible Changes</a></li>
 
69
<li><a class="reference internal" href="#bugfixes-and-small-changes" id="id31">Bugfixes and Small Changes</a></li>
68
70
</ul>
69
71
</li>
70
 
<li><a class="reference" href="#id10" id="id28" name="id28">0.8.5</a></li>
71
 
<li><a class="reference" href="#id11" id="id29" name="id29">0.8.4</a></li>
72
 
<li><a class="reference" href="#id12" id="id30" name="id30">0.8.3</a></li>
73
 
<li><a class="reference" href="#id13" id="id31" name="id31">0.8.2</a></li>
74
 
<li><a class="reference" href="#id14" id="id32" name="id32">0.8.1</a></li>
75
 
<li><a class="reference" href="#id15" id="id33" name="id33">0.8</a></li>
 
72
<li><a class="reference internal" href="#id12" id="id32">0.8.5</a></li>
 
73
<li><a class="reference internal" href="#id13" id="id33">0.8.4</a></li>
 
74
<li><a class="reference internal" href="#id14" id="id34">0.8.3</a></li>
 
75
<li><a class="reference internal" href="#id15" id="id35">0.8.2</a></li>
 
76
<li><a class="reference internal" href="#id16" id="id36">0.8.1</a></li>
 
77
<li><a class="reference internal" href="#id17" id="id37">0.8</a></li>
76
78
</ul>
77
79
</li>
78
80
</ul>
79
81
</div>
80
82
<div class="section" id="id1">
81
 
<h2><a class="toc-backref" href="#id17">0.9.7</a><a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
 
83
<h2><a class="toc-backref" href="#id19">0.9.8</a><a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
 
84
<ul class="simple">
 
85
<li>Fix issue with WSGIHTTPException inadvertently generating unicode body
 
86
and failing to encode it</li>
 
87
<li>WWW-Authenticate response header is accessible as
 
88
<tt class="docutils literal"><span class="pre">response.www_authenticate</span></tt></li>
 
89
<li><tt class="docutils literal"><span class="pre">response.www_authenticate</span></tt> and <tt class="docutils literal"><span class="pre">request.authorization</span></tt> hold None
 
90
or tuple <tt class="docutils literal"><span class="pre">(auth_method,</span> <span class="pre">params)</span></tt> where <tt class="docutils literal"><span class="pre">params</span></tt> is a dictionary
 
91
(or a string when <tt class="docutils literal"><span class="pre">auth_method</span></tt> is not one of known auth schemes
 
92
and for Authenticate: Basic ...)</li>
 
93
<li>Don&#8217;t share response headers when getting a response like <tt class="docutils literal"><span class="pre">resp</span> <span class="pre">=</span>
 
94
<span class="pre">req.get_response(some_app)</span></tt>; this can avoid some funny errors with
 
95
modifying headers and reusing Response objects.</li>
 
96
<li>Add <cite>overwrite</cite> argument to <tt class="xref docutils literal"><span class="pre">Response.set_cookie()</span></tt> that make the
 
97
new value overwrite the previously set. <cite>False</cite> by default.</li>
 
98
<li>Add <cite>strict</cite> argument to <tt class="xref docutils literal"><span class="pre">Response.unset_cookie()</span></tt> that controls
 
99
if an exception should be raised in case there are no cookies to unset.
 
100
<cite>True</cite> by default.</li>
 
101
<li>Fix <tt class="docutils literal"><span class="pre">req.GET.copy()</span></tt></li>
 
102
<li>Make sure that 304 Not Modified responses generated by
 
103
<tt class="xref docutils literal"><span class="pre">Response.conditional_response_app()</span></tt> exclude Content-{Length/Type}
 
104
headers</li>
 
105
<li>Fix <tt class="docutils literal"><span class="pre">Response.copy()</span></tt> not being an independent copy</li>
 
106
<li>When the requested range is not satisfiable, return a 416 error
 
107
(was returning entire body)</li>
 
108
<li>Truncate response for range requests that go beyond the end of body
 
109
(was treating as invalid).</li>
 
110
</ul>
 
111
</div>
 
112
<div class="section" id="id2">
 
113
<h2><a class="toc-backref" href="#id20">0.9.7.1</a><a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
 
114
<ul class="simple">
 
115
<li>Fix an import problem with Pylons</li>
 
116
</ul>
 
117
</div>
 
118
<div class="section" id="id3">
 
119
<h2><a class="toc-backref" href="#id21">0.9.7</a><a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
82
120
<ul class="simple">
83
121
<li>Moved repository from svn location to
84
 
<a class="reference" href="http://bitbucket.org/ianb/webob/">http://bitbucket.org/ianb/webob/</a></li>
 
122
<a class="reference external" href="http://bitbucket.org/ianb/webob/">http://bitbucket.org/ianb/webob/</a></li>
85
123
<li>Arguments to <tt class="xref docutils literal"><span class="pre">Accept.best_match()</span></tt> must be specific types,
86
124
not wildcards. The server should know a list of specic types it can
87
125
offer and use <tt class="docutils literal"><span class="pre">best_match</span></tt> to select a specific one.</li>
126
164
<tt class="docutils literal"><span class="pre">__setattr__</span></tt>.  (chrism)</li>
127
165
<li>Added response attribute <tt class="docutils literal"><span class="pre">response.content_disposition</span></tt> for its
128
166
associated header.</li>
129
 
<li>Changed how <tt class="docutils literal"><span class="pre">charset</span></tt> is determined on <a title="webob.Request" class="reference" href="modules/webob.html#webob.Request"><tt class="xref docutils literal"><span class="pre">webob.Request</span></tt></a>
 
167
<li>Changed how <tt class="docutils literal"><span class="pre">charset</span></tt> is determined on <a title="webob.Request" class="reference external" href="modules/webob.html#webob.Request"><tt class="xref docutils literal"><span class="pre">webob.Request</span></tt></a>
130
168
objects.  Now the <tt class="docutils literal"><span class="pre">charset</span></tt> parameter is read on the Content-Type
131
169
header, if it is present.  Otherwise a <tt class="docutils literal"><span class="pre">default_charset</span></tt> parameter
132
170
is read, or the <tt class="docutils literal"><span class="pre">charset</span></tt> argument to the Request constructor.
133
 
This is more similar to how <a title="webob.Response" class="reference" href="modules/webob.html#webob.Response"><tt class="xref docutils literal"><span class="pre">webob.Response</span></tt></a> handles the
 
171
This is more similar to how <a title="webob.Response" class="reference external" href="modules/webob.html#webob.Response"><tt class="xref docutils literal"><span class="pre">webob.Response</span></tt></a> handles the
134
172
charset.</li>
135
173
<li>Made the case of the Content-Type header consistent (note: this
136
174
might break some doctests).</li>
156
194
<li>When a Location header is not absolute in a Response, it will be
157
195
made absolute when the Response is called as a WSGI application.
158
196
This makes the response less bound to a specific request.</li>
159
 
<li>Added <a title="" class="reference" href="modules/dec.html#module-webob.dec"><tt class="xref docutils literal"><span class="pre">webob.dec</span></tt></a>, a decorator for making WSGI applications
 
197
<li>Added <a title="" class="reference external" href="modules/dec.html#module-webob.dec"><tt class="xref docutils literal"><span class="pre">webob.dec</span></tt></a>, a decorator for making WSGI applications
160
198
from functions with the signature <tt class="docutils literal"><span class="pre">resp</span> <span class="pre">=</span> <span class="pre">app(req)</span></tt>.</li>
161
199
</ul>
162
200
</div>
163
 
<div class="section" id="id2">
164
 
<h2><a class="toc-backref" href="#id18">0.9.6.1</a><a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
 
201
<div class="section" id="id4">
 
202
<h2><a class="toc-backref" href="#id22">0.9.6.1</a><a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
165
203
<ul class="simple">
166
204
<li>Fixed <tt class="xref docutils literal"><span class="pre">Response.__init__()</span></tt>, which for some content types would
167
205
raise an exception.</li>
169
207
unnecessarily when rereading the body.</li>
170
208
</ul>
171
209
</div>
172
 
<div class="section" id="id3">
173
 
<h2><a class="toc-backref" href="#id19">0.9.6</a><a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
 
210
<div class="section" id="id5">
 
211
<h2><a class="toc-backref" href="#id23">0.9.6</a><a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
174
212
<ul class="simple">
175
 
<li>Removed <cite>environ_getter</cite> from <a title="webob.Request" class="reference" href="modules/webob.html#webob.Request"><tt class="xref docutils literal"><span class="pre">webob.Request</span></tt></a>.  This
 
213
<li>Removed <cite>environ_getter</cite> from <a title="webob.Request" class="reference external" href="modules/webob.html#webob.Request"><tt class="xref docutils literal"><span class="pre">webob.Request</span></tt></a>.  This
176
214
largely-unused option allowed a Request object to be instantiated
177
215
with a dynamic underlying environ.  Since it wasn&#8217;t used much, and
178
216
might have been ill-advised from the beginning, and affected
184
222
<li>Added <tt class="xref docutils literal"><span class="pre">webob.Response.copy()</span></tt></li>
185
223
</ul>
186
224
</div>
187
 
<div class="section" id="id4">
188
 
<h2><a class="toc-backref" href="#id20">0.9.5</a><a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
 
225
<div class="section" id="id6">
 
226
<h2><a class="toc-backref" href="#id24">0.9.5</a><a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
189
227
<ul class="simple">
190
228
<li>Fix <tt class="docutils literal"><span class="pre">Request.blank('/').copy()</span></tt> raising an exception.</li>
191
229
<li>Fix a potential memory leak with HEAD requests and 304 responses.</li>
192
 
<li>Make <a title="webob.html_escape" class="reference" href="modules/webob.html#webob.html_escape"><tt class="xref docutils literal"><span class="pre">webob.html_escape()</span></tt></a> respect the <tt class="docutils literal"><span class="pre">.__html__()</span></tt> magic
 
230
<li>Make <a title="webob.html_escape" class="reference external" href="modules/webob.html#webob.html_escape"><tt class="xref docutils literal"><span class="pre">webob.html_escape()</span></tt></a> respect the <tt class="docutils literal"><span class="pre">.__html__()</span></tt> magic
193
231
method, which allows you to use HTML in
194
232
:class`webob.exc.HTTPException` instances.</li>
195
233
<li>Handle unicode values for <tt class="docutils literal"><span class="pre">resp.location</span></tt>.</li>
196
234
<li>Allow arbitrary keyword arguments to <tt class="docutils literal"><span class="pre">exc.HTTP*</span></tt> (the same
197
 
keywords you can send to <a title="webob.Response" class="reference" href="modules/webob.html#webob.Response"><tt class="xref docutils literal"><span class="pre">webob.Response</span></tt></a>).</li>
 
235
keywords you can send to <a title="webob.Response" class="reference external" href="modules/webob.html#webob.Response"><tt class="xref docutils literal"><span class="pre">webob.Response</span></tt></a>).</li>
198
236
<li>Allow setting <tt class="xref docutils literal"><span class="pre">webob.Response.cache_expires()</span></tt> (usually it is
199
237
called as a method).  This is primarily to allow
200
238
<tt class="docutils literal"><span class="pre">Response(cache_expires=True)</span></tt>.</li>
201
239
</ul>
202
240
</div>
203
 
<div class="section" id="id5">
204
 
<h2><a class="toc-backref" href="#id21">0.9.4</a><a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
 
241
<div class="section" id="id7">
 
242
<h2><a class="toc-backref" href="#id25">0.9.4</a><a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
205
243
<ul class="simple">
206
244
<li>Quiet Python 2.6 deprecation warnings.</li>
207
 
<li>Added an attribute <tt class="docutils literal"><span class="pre">unicode_errors</span></tt> to <a title="webob.Response" class="reference" href="modules/webob.html#webob.Response"><tt class="xref docutils literal"><span class="pre">webob.Response</span></tt></a> &#8211;
 
245
<li>Added an attribute <tt class="docutils literal"><span class="pre">unicode_errors</span></tt> to <a title="webob.Response" class="reference external" href="modules/webob.html#webob.Response"><tt class="xref docutils literal"><span class="pre">webob.Response</span></tt></a> &#8211;
208
246
if set to something like <tt class="docutils literal"><span class="pre">unicode_errors='replace'</span></tt> it will decode
209
247
<tt class="docutils literal"><span class="pre">resp.body</span></tt> appropriately.  The default is <tt class="docutils literal"><span class="pre">strict</span></tt> (which was
210
248
the former un-overridable behavior).</li>
211
249
</ul>
212
250
</div>
213
 
<div class="section" id="id6">
214
 
<h2><a class="toc-backref" href="#id22">0.9.3</a><a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
 
251
<div class="section" id="id8">
 
252
<h2><a class="toc-backref" href="#id26">0.9.3</a><a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
215
253
<ul class="simple">
216
254
<li>Make sure that if changing the body the Content-MD5 header is
217
255
removed. (Otherwise a lot of middleware would accidentally
225
263
Content-Type.</li>
226
264
</ul>
227
265
</div>
228
 
<div class="section" id="id7">
229
 
<h2><a class="toc-backref" href="#id23">0.9.2</a><a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
 
266
<div class="section" id="id9">
 
267
<h2><a class="toc-backref" href="#id27">0.9.2</a><a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
230
268
<ul class="simple">
231
269
<li>Add more arguments to <tt class="xref docutils literal"><span class="pre">Request.remove_conditional_headers()</span></tt>
232
270
for more fine-grained control: <cite>remove_encoding</cite>, <cite>remove_range</cite>,
240
278
dashes.</li>
241
279
<li>Added in <tt class="docutils literal"><span class="pre">sorted</span></tt> function for backward compatibility with Python
242
280
2.3.</li>
243
 
<li>Allow keyword arguments to <a title="webob.Request" class="reference" href="modules/webob.html#webob.Request"><tt class="xref docutils literal"><span class="pre">webob.Request</span></tt></a>, which assign
 
281
<li>Allow keyword arguments to <a title="webob.Request" class="reference external" href="modules/webob.html#webob.Request"><tt class="xref docutils literal"><span class="pre">webob.Request</span></tt></a>, which assign
244
282
attributes (possibly overwriting values in the environment).</li>
245
283
<li>Added methods <tt class="xref docutils literal"><span class="pre">webob.Request.make_body_seekable()</span></tt> and
246
284
<tt class="xref docutils literal"><span class="pre">webob.Request.copy_body()</span></tt>, which make it easier to share a
248
286
like <cite>req.make_body_seekable(); req.body_file.seek(0)</cite></li>
249
287
</ul>
250
288
</div>
251
 
<div class="section" id="id8">
252
 
<h2><a class="toc-backref" href="#id24">0.9.1</a><a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
 
289
<div class="section" id="id10">
 
290
<h2><a class="toc-backref" href="#id28">0.9.1</a><a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h2>
253
291
<ul class="simple">
254
292
<li><tt class="docutils literal"><span class="pre">request.params.copy()</span></tt> now returns a writable MultiDict (before
255
293
it returned an unwritable object).</li>
269
307
<li>Support Unicode cookie values</li>
270
308
</ul>
271
309
</div>
272
 
<div class="section" id="id9">
273
 
<h2><a class="toc-backref" href="#id25">0.9</a><a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
 
310
<div class="section" id="id11">
 
311
<h2><a class="toc-backref" href="#id29">0.9</a><a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h2>
274
312
<ul class="simple">
275
313
<li>Added <tt class="docutils literal"><span class="pre">req.urlarg</span></tt>, which represents positional arguments in
276
314
<tt class="docutils literal"><span class="pre">environ['wsgiorg.routing_args']</span></tt>.</li>
281
319
exceptions are <tt class="docutils literal"><span class="pre">webob.Response</span></tt> objects.</li>
282
320
</ul>
283
321
<div class="section" id="backward-incompatible-changes">
284
 
<h3><a class="toc-backref" href="#id26">Backward Incompatible Changes</a><a class="headerlink" href="#backward-incompatible-changes" title="Permalink to this headline">¶</a></h3>
 
322
<h3><a class="toc-backref" href="#id30">Backward Incompatible Changes</a><a class="headerlink" href="#backward-incompatible-changes" title="Permalink to this headline">¶</a></h3>
285
323
<ul class="simple">
286
324
<li>The <tt class="docutils literal"><span class="pre">Response</span></tt> constructor has changed: it is now <tt class="docutils literal"><span class="pre">Response([body],</span>
287
325
<span class="pre">[status],</span> <span class="pre">...)</span></tt> (before it was <tt class="docutils literal"><span class="pre">Response([status],</span> <span class="pre">[body],</span> <span class="pre">...)</span></tt>).
292
330
</ul>
293
331
</div>
294
332
<div class="section" id="bugfixes-and-small-changes">
295
 
<h3><a class="toc-backref" href="#id27">Bugfixes and Small Changes</a><a class="headerlink" href="#bugfixes-and-small-changes" title="Permalink to this headline">¶</a></h3>
 
333
<h3><a class="toc-backref" href="#id31">Bugfixes and Small Changes</a><a class="headerlink" href="#bugfixes-and-small-changes" title="Permalink to this headline">¶</a></h3>
296
334
<ul class="simple">
297
335
<li>Use <tt class="docutils literal"><span class="pre">BaseCookie</span></tt> instead of <tt class="docutils literal"><span class="pre">SimpleCookie</span></tt> for parsing cookies.</li>
298
336
<li>Added <tt class="docutils literal"><span class="pre">resp.write(text)</span></tt> method, which is equivalent to
306
344
</ul>
307
345
</div>
308
346
</div>
309
 
<div class="section" id="id10">
310
 
<h2><a class="toc-backref" href="#id28">0.8.5</a><a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h2>
 
347
<div class="section" id="id12">
 
348
<h2><a class="toc-backref" href="#id32">0.8.5</a><a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h2>
311
349
<ul class="simple">
312
350
<li>Added response methods <tt class="docutils literal"><span class="pre">resp.encode_content()</span></tt> and
313
351
<tt class="docutils literal"><span class="pre">resp.decode_content()</span></tt> to gzip or ungzip content.</li>
319
357
compatibility.</li>
320
358
</ul>
321
359
</div>
322
 
<div class="section" id="id11">
323
 
<h2><a class="toc-backref" href="#id29">0.8.4</a><a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h2>
 
360
<div class="section" id="id13">
 
361
<h2><a class="toc-backref" href="#id33">0.8.4</a><a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h2>
324
362
<ul class="simple">
325
363
<li><tt class="docutils literal"><span class="pre">__setattr__</span></tt> would keep <tt class="docutils literal"><span class="pre">Request</span></tt> subclasses from having
326
364
properly settable environ proxies (like <tt class="docutils literal"><span class="pre">req.path_info</span></tt>).</li>
327
365
</ul>
328
366
</div>
329
 
<div class="section" id="id12">
330
 
<h2><a class="toc-backref" href="#id30">0.8.3</a><a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h2>
 
367
<div class="section" id="id14">
 
368
<h2><a class="toc-backref" href="#id34">0.8.3</a><a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h2>
331
369
<ul class="simple">
332
370
<li><tt class="docutils literal"><span class="pre">request.POST</span></tt> was giving FieldStorage objects for <em>every</em>
333
371
attribute, not just file uploads.  This is fixed now.</li>
337
375
<tt class="docutils literal"><span class="pre">environ['CONTENT_LENGTH']</span></tt> is somehow invalid.</li>
338
376
</ul>
339
377
</div>
340
 
<div class="section" id="id13">
341
 
<h2><a class="toc-backref" href="#id31">0.8.2</a><a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h2>
 
378
<div class="section" id="id15">
 
379
<h2><a class="toc-backref" href="#id35">0.8.2</a><a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h2>
342
380
<ul class="simple">
343
381
<li>Python 2.3 compatibility: backport of <tt class="docutils literal"><span class="pre">reversed(seq)</span></tt></li>
344
382
<li>Made separate <tt class="docutils literal"><span class="pre">.exception</span></tt> attribute on <tt class="docutils literal"><span class="pre">webob.exc</span></tt> objects,
357
395
<tt class="docutils literal"><span class="pre">FieldStorage</span></tt> object directly in the parameters.</li>
358
396
</ul>
359
397
</div>
360
 
<div class="section" id="id14">
361
 
<h2><a class="toc-backref" href="#id32">0.8.1</a><a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h2>
 
398
<div class="section" id="id16">
 
399
<h2><a class="toc-backref" href="#id36">0.8.1</a><a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h2>
362
400
<ul class="simple">
363
401
<li>Added <tt class="docutils literal"><span class="pre">res.set_cookie(...,</span> <span class="pre">httponly=True)</span></tt> to set the <tt class="docutils literal"><span class="pre">HttpOnly</span></tt>
364
402
attribute on the cookie, which keeps Javascript from reading the
369
407
<li>Generally fix <tt class="docutils literal"><span class="pre">.cache_control</span></tt></li>
370
408
</ul>
371
409
</div>
372
 
<div class="section" id="id15">
373
 
<h2><a class="toc-backref" href="#id33">0.8</a><a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h2>
 
410
<div class="section" id="id17">
 
411
<h2><a class="toc-backref" href="#id37">0.8</a><a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h2>
374
412
<p>First release.  Nothing is new, or everything is new, depending on how
375
413
you think about it.</p>
376
414
</div>
384
422
        <div class="sphinxsidebarwrapper">
385
423
            <h3><a href="index.html">Table Of Contents</a></h3>
386
424
            <ul>
387
 
<li><a class="reference" href="">News</a><ul>
388
 
<li><a class="reference" href="#id1">0.9.7</a></li>
389
 
<li><a class="reference" href="#id2">0.9.6.1</a></li>
390
 
<li><a class="reference" href="#id3">0.9.6</a></li>
391
 
<li><a class="reference" href="#id4">0.9.5</a></li>
392
 
<li><a class="reference" href="#id5">0.9.4</a></li>
393
 
<li><a class="reference" href="#id6">0.9.3</a></li>
394
 
<li><a class="reference" href="#id7">0.9.2</a></li>
395
 
<li><a class="reference" href="#id8">0.9.1</a></li>
396
 
<li><a class="reference" href="#id9">0.9</a><ul>
397
 
<li><a class="reference" href="#backward-incompatible-changes">Backward Incompatible Changes</a></li>
398
 
<li><a class="reference" href="#bugfixes-and-small-changes">Bugfixes and Small Changes</a></li>
 
425
<li><a class="reference external" href="">News</a><ul>
 
426
<li><a class="reference external" href="#id1">0.9.8</a></li>
 
427
<li><a class="reference external" href="#id2">0.9.7.1</a></li>
 
428
<li><a class="reference external" href="#id3">0.9.7</a></li>
 
429
<li><a class="reference external" href="#id4">0.9.6.1</a></li>
 
430
<li><a class="reference external" href="#id5">0.9.6</a></li>
 
431
<li><a class="reference external" href="#id6">0.9.5</a></li>
 
432
<li><a class="reference external" href="#id7">0.9.4</a></li>
 
433
<li><a class="reference external" href="#id8">0.9.3</a></li>
 
434
<li><a class="reference external" href="#id9">0.9.2</a></li>
 
435
<li><a class="reference external" href="#id10">0.9.1</a></li>
 
436
<li><a class="reference external" href="#id11">0.9</a><ul>
 
437
<li><a class="reference external" href="#backward-incompatible-changes">Backward Incompatible Changes</a></li>
 
438
<li><a class="reference external" href="#bugfixes-and-small-changes">Bugfixes and Small Changes</a></li>
399
439
</ul>
400
440
</li>
401
 
<li><a class="reference" href="#id10">0.8.5</a></li>
402
 
<li><a class="reference" href="#id11">0.8.4</a></li>
403
 
<li><a class="reference" href="#id12">0.8.3</a></li>
404
 
<li><a class="reference" href="#id13">0.8.2</a></li>
405
 
<li><a class="reference" href="#id14">0.8.1</a></li>
406
 
<li><a class="reference" href="#id15">0.8</a></li>
 
441
<li><a class="reference external" href="#id12">0.8.5</a></li>
 
442
<li><a class="reference external" href="#id13">0.8.4</a></li>
 
443
<li><a class="reference external" href="#id14">0.8.3</a></li>
 
444
<li><a class="reference external" href="#id15">0.8.2</a></li>
 
445
<li><a class="reference external" href="#id16">0.8.1</a></li>
 
446
<li><a class="reference external" href="#id17">0.8</a></li>
407
447
</ul>
408
448
</li>
409
449
</ul>
451
491
        <li class="right" >
452
492
          <a href="do-it-yourself.html" title="Another Do-It-Yourself Framework"
453
493
             >previous</a> |</li>
454
 
        <li><a href="index.html">WebOb v0.9.7 documentation</a> &raquo;</li> 
 
494
        <li><a href="index.html">WebOb v0.9.8 documentation</a> &raquo;</li> 
455
495
      </ul>
456
496
    </div>
457
497
    <div class="footer">
458
498
      &copy; Copyright 2008, Ian Bicking.
459
 
      Last updated on Dec 16, 2009.
 
499
      Last updated on Feb 03, 2010.
460
500
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
461
501
    </div>
462
502
  </body>