<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/webob.git/webob/exc.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>Move the _lazified class out of the lazify function</title>
<updated>2016-09-29T08:15:19+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-09-29T07:46:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=d902761d6b77a061d98939901729f3a3028b7a5e'/>
<id>d902761d6b77a061d98939901729f3a3028b7a5e</id>
<content type='text'>
Capturing the function, and returning a new object from a class that is
defined within the capturing function seems to cause some sort of really
pathological behavior that causes lazify() to take up a bunch of CPU
time, especially when it is part of a hot code path.

Thanks to Martijn Faassen for reporting!

Closes #282
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Capturing the function, and returning a new object from a class that is
defined within the capturing function seems to cause some sort of really
pathological behavior that causes lazify() to take up a bunch of CPU
time, especially when it is part of a hot code path.

Thanks to Martijn Faassen for reporting!

Closes #282
</pre>
</div>
</content>
</entry>
<entry>
<title>response: improve charset defaults</title>
<updated>2016-07-17T02:23:26+00:00</updated>
<author>
<name>Riley Patterson</name>
<email>rileypatterson@gmail.com</email>
</author>
<published>2016-06-03T01:13:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=e810667e57750ed4b0f269fbed15a27cdd8aebf9'/>
<id>e810667e57750ed4b0f269fbed15a27cdd8aebf9</id>
<content type='text'>
Refactored the logic in Response.__init__ to handle default charset more
consistently.

Added logic in the charset setter that ignores attempts to set it on
JSON content types.

Removed explicit charset specification from exceptions since this is
handled correctly for the text types within Response.

Fixed some affected tests, and added assertions for content types in
exceptions.

Addresses https://github.com/Pylons/webob/issues/237
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactored the logic in Response.__init__ to handle default charset more
consistently.

Added logic in the charset setter that ignores attempts to set it on
JSON content types.

Removed explicit charset specification from exceptions since this is
handled correctly for the text types within Response.

Fixed some affected tests, and added assertions for content types in
exceptions.

Addresses https://github.com/Pylons/webob/issues/237
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace checking self.body with self.has_body</title>
<updated>2016-07-08T22:48:21+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-07-08T22:48:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=3e9043f5b453037af40178a7f2912e0cb4612355'/>
<id>3e9043f5b453037af40178a7f2912e0cb4612355</id>
<content type='text'>
self.body has the side-effect of attempting to read the entire iterable
(if it exists), which is not a very nice thing to do. has_body will
instead simply return True or false without that nasty side effect.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
self.body has the side-effect of attempting to read the entire iterable
(if it exists), which is not a very nice thing to do. has_body will
instead simply return True or false without that nasty side effect.
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP8</title>
<updated>2016-04-14T07:17:37+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-04-14T07:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=31e154aa7edcf40c8ff2cc196043fe5e2bc1143c'/>
<id>31e154aa7edcf40c8ff2cc196043fe5e2bc1143c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup unused imports</title>
<updated>2016-04-14T07:17:29+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-04-14T07:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=61c061911271df40e6435434ca2dad49f8b3a1c5'/>
<id>61c061911271df40e6435434ca2dad49f8b3a1c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the default returned type to text/html</title>
<updated>2016-04-14T07:15:30+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-04-14T07:15:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=6d5e028c758caa95651ea1f2fbd5fea7a50ffb65'/>
<id>6d5e028c758caa95651ea1f2fbd5fea7a50ffb65</id>
<content type='text'>
Currently if WebOb encounters a */* Accept header on an exception it
will return an application/json result. This leads to some interesting
results for crawlers and others that don't send an explicit HTTP Accept
and then end up receiving JSON instead of what was previously HTML.

This breaks B/W compat with issue #230.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently if WebOb encounters a */* Accept header on an exception it
will return an application/json result. This leads to some interesting
results for crawlers and others that don't send an explicit HTTP Accept
and then end up receiving JSON instead of what was previously HTML.

This breaks B/W compat with issue #230.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use MIMEAccept instead of Accept</title>
<updated>2016-04-14T07:14:14+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-04-14T07:14:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=37a8acac99f6e91ab50dbc2583166dfbcf7cf9bd'/>
<id>37a8acac99f6e91ab50dbc2583166dfbcf7cf9bd</id>
<content type='text'>
Accept does not take into account type/subtype, and thus could
potentially return the wrong result to a client if they send a funky
Accept header.

Closes #240
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Accept does not take into account type/subtype, and thus could
potentially return the wrong result to a client if they send a funky
Accept header.

Closes #240
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pr '#139' of amol- into bugfix/lazy_escape</title>
<updated>2016-01-29T00:39:30+00:00</updated>
<author>
<name>Bert JW Regeer</name>
<email>bertjw@regeer.org</email>
</author>
<published>2016-01-29T00:39:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=947304dc2321ca8201142e0e3905516aa05bf236'/>
<id>947304dc2321ca8201142e0e3905516aa05bf236</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Accept to parse headers and find the best match</title>
<updated>2016-01-14T15:35:05+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-01-14T15:35:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=539a9f78f0752b9936bf8e3f2d2cc8e7c50da837'/>
<id>539a9f78f0752b9936bf8e3f2d2cc8e7c50da837</id>
<content type='text'>
Add more tests to bring coverage back up to 100%
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add more tests to bring coverage back up to 100%
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ability to return a JSON body from an exception</title>
<updated>2016-01-12T17:49:47+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-01-12T17:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/webob.git/commit/?id=87c8749a57c1ff2442db2d74d9fb86935b7b201e'/>
<id>87c8749a57c1ff2442db2d74d9fb86935b7b201e</id>
<content type='text'>
Closes #209
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #209
</pre>
</div>
</content>
</entry>
</feed>
