<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/webob.git/webob/request.py, branch bugfix/cgi_FieldStorage</title>
<subtitle>github.com: Pylons/webob.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/'/>
<entry>
<title>Update PATH_SAFE to include all safe characters from RFC3989</title>
<updated>2016-11-16T20:38:23+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-11-16T20:38:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=94bb2c66132d33dcc8cea94792af6244526e836d'/>
<id>94bb2c66132d33dcc8cea94792af6244526e836d</id>
<content type='text'>
Closes #290
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #290
</pre>
</div>
</content>
</entry>
<entry>
<title>Update docstring</title>
<updated>2016-09-30T01:07:54+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-30T01:03:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=cb9c0b4f51542a7d0ed5cc5bf0a73f528afbe03e'/>
<id>cb9c0b4f51542a7d0ed5cc5bf0a73f528afbe03e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add DeprecationWarning for FakeCGIBody</title>
<updated>2016-09-30T01:07:54+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-29T06:39:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=3b604dac2846ce69c903394e2798ea094551348b'/>
<id>3b604dac2846ce69c903394e2798ea094551348b</id>
<content type='text'>
Closes #276
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #276
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP8</title>
<updated>2016-09-30T01:07:54+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-29T06:39:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=8fde5e2c901182872119e709ae236708b40428a6'/>
<id>8fde5e2c901182872119e709ae236708b40428a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Invalid indent</title>
<updated>2016-09-30T01:07:54+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-29T06:38:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=6f959d628fc0682ba0880a86b7c0174e5090cedf'/>
<id>6f959d628fc0682ba0880a86b7c0174e5090cedf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework req.copy_body()</title>
<updated>2016-09-30T01:07:54+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-29T06:28:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=bf4913115f33325737f452f740fe9dbc7240a39e'/>
<id>bf4913115f33325737f452f740fe9dbc7240a39e</id>
<content type='text'>
copy_body() used to treat chunked encoding (or at least reading from
wsgi.input without a valid Content-Length, could be user provided
body_file_raw and didn't set Content-Length) with no consideration for
the amount of data that could be on the other end.

This could potentially allow for a VERY large python bytes() object to
be allocated followed by a very large BytesIO(), which then one line
later it would copy to a temporary file, damage already done.

The new changes will read up to Content-Length if it is available, if
not but the body is still marked readable, it will attempt to read from
the input until it is exhausted.

Up to req.request_body_tempfile_limit will be stored in a BytesIO, after
that it will instead write it to a temporary file. So even if the other
end is sending 100's of MB worth of data it won't blow up your Python
process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
copy_body() used to treat chunked encoding (or at least reading from
wsgi.input without a valid Content-Length, could be user provided
body_file_raw and didn't set Content-Length) with no consideration for
the amount of data that could be on the other end.

This could potentially allow for a VERY large python bytes() object to
be allocated followed by a very large BytesIO(), which then one line
later it would copy to a temporary file, damage already done.

The new changes will read up to Content-Length if it is available, if
not but the body is still marked readable, it will attempt to read from
the input until it is exhausted.

Up to req.request_body_tempfile_limit will be stored in a BytesIO, after
that it will instead write it to a temporary file. So even if the other
end is sending 100's of MB worth of data it won't blow up your Python
process.
</pre>
</div>
</content>
</entry>
<entry>
<title>req.body gets some minor cleanups</title>
<updated>2016-09-30T01:07:53+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-29T06:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=50b7fc84b1bf872abebab92225dab11cd7a311ad'/>
<id>50b7fc84b1bf872abebab92225dab11cd7a311ad</id>
<content type='text'>
You can now set req.body for any request method.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
You can now set req.body for any request method.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove http_method_probably_has_body</title>
<updated>2016-09-30T01:07:53+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-29T06:11:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=0e6fcbfbc58af6fdd4e125543bf8f5fb91b984c6'/>
<id>0e6fcbfbc58af6fdd4e125543bf8f5fb91b984c6</id>
<content type='text'>
This also changes req.from_file in that now it will attempt to read the
entire file for the body if no Content-Length is set, even if the
request method generally does not have a body (such as GET/DELETE).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also changes req.from_file in that now it will attempt to read the
entire file for the body if no Content-Length is set, even if the
request method generally does not have a body (such as GET/DELETE).
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused imports</title>
<updated>2016-09-30T01:07:53+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-29T06:10:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=b64bc425f0a836b232c2e11d6e07d6d52df103cc'/>
<id>b64bc425f0a836b232c2e11d6e07d6d52df103cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Req.body_file no longer accepts bytes</title>
<updated>2016-09-30T01:07:53+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-29T06:05:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=f35a535a1a7677473941699737202f6b87d17c6d'/>
<id>f35a535a1a7677473941699737202f6b87d17c6d</id>
<content type='text'>
This has been deprecated since WebOb 1.2 and non-functional for a long
time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has been deprecated since WebOb 1.2 and non-functional for a long
time.
</pre>
</div>
</content>
</entry>
</feed>
