<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-requests.git/requests/status_codes.py, branch none_filepointer</title>
<subtitle>github.com: kennethreitz/requests.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/'/>
<entry>
<title>Add documentation for available status codes</title>
<updated>2017-11-21T21:11:34+00:00</updated>
<author>
<name>Zane Bitter</name>
<email>zbitter@redhat.com</email>
</author>
<published>2017-11-21T17:39:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=19919b44c4af95f125704c902acecdf83d70a3e4'/>
<id>19919b44c4af95f125704c902acecdf83d70a3e4</id>
<content type='text'>
There was no way to determine what actual names were available outside
of looking at the source code. They were not listed in the documentation
or accessible through the interactive help.

In addition, doing `pydoc requests.status_codes` displayed some pretty
unhelpful information - the utf-8 encoding string was included in the
module name, there was no description, and internal variables used for
initialisation leaked into the module scope:

    DATA
        code = 511
        codes = &lt;lookup 'status_codes'&gt;
        title = 'network_authentication'
        titles = ('network_authentication_required', 'network_auth', ...

This change prevents the internal variables from leaking, adds a
docstring (which has the side-effect of correcting the module name), and
appends information on the allowed status code names to the docstring
when the module is initialised.

The improved module documentation is then used in the API documentation
to provide another easy reference to the complete list of status codes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was no way to determine what actual names were available outside
of looking at the source code. They were not listed in the documentation
or accessible through the interactive help.

In addition, doing `pydoc requests.status_codes` displayed some pretty
unhelpful information - the utf-8 encoding string was included in the
module name, there was no description, and internal variables used for
initialisation leaked into the module scope:

    DATA
        code = 511
        codes = &lt;lookup 'status_codes'&gt;
        title = 'network_authentication'
        titles = ('network_authentication_required', 'network_auth', ...

This change prevents the internal variables from leaking, adds a
docstring (which has the side-effect of correcting the module name), and
appends information on the allowed status code names to the docstring
when the module is initialised.

The improved module documentation is then used in the API documentation
to provide another easy reference to the complete list of status codes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix syntax error</title>
<updated>2017-02-07T15:57:17+00:00</updated>
<author>
<name>Marcos Dione</name>
<email>mdione@grulic.org.ar</email>
</author>
<published>2017-02-07T15:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=571d2c2cd7495e6fb81f656abdd2b3d3f593f1f0'/>
<id>571d2c2cd7495e6fb81f656abdd2b3d3f593f1f0</id>
<content type='text'>
I can only wonder how I managed to write it like that...</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I can only wonder how I managed to write it like that...</pre>
</div>
</content>
</entry>
<entry>
<title>Proper version, no bugs, shorter.</title>
<updated>2017-02-06T20:44:28+00:00</updated>
<author>
<name>Marcos Dione</name>
<email>mdione@grulic.org.ar</email>
</author>
<published>2017-02-06T20:44:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=b00d8bf474cf5e2850ba83a11b7e372dad4bf119'/>
<id>b00d8bf474cf5e2850ba83a11b7e372dad4bf119</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>do not convert /o\ into /O\</title>
<updated>2017-02-06T16:27:16+00:00</updated>
<author>
<name>Marcos Dione</name>
<email>mdione@grulic.org.ar</email>
</author>
<published>2017-02-06T16:27:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=593734b77092439b533e8e0599be6d204867b751'/>
<id>593734b77092439b533e8e0599be6d204867b751</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>adding in pep8 fixes</title>
<updated>2016-07-20T16:30:08+00:00</updated>
<author>
<name>Nate Prewitt</name>
<email>Nate.Prewitt@gmail.com</email>
</author>
<published>2016-07-19T21:23:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=2d4a89f5dc561dbf062ec5c85d6f6ca32a511042'/>
<id>2d4a89f5dc561dbf062ec5c85d6f6ca32a511042</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 421 Misdirected Request.</title>
<updated>2016-04-08T07:23:46+00:00</updated>
<author>
<name>Cory Benfield</name>
<email>lukasaoz@gmail.com</email>
</author>
<published>2016-04-08T07:23:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=831d8e0a1e817c4c9deb0de7f79fec98865b4c58'/>
<id>831d8e0a1e817c4c9deb0de7f79fec98865b4c58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 511 Network Authentication Required status code to dict of status codes</title>
<updated>2015-10-26T15:42:37+00:00</updated>
<author>
<name>Ann Paul</name>
<email>ann@prismskylabs.com</email>
</author>
<published>2015-10-26T15:42:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=7dd94941c84d28c329db1d7739ea32f8d41a131e'/>
<id>7dd94941c84d28c329db1d7739ea32f8d41a131e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant function call list when iterating over status codes</title>
<updated>2015-09-10T16:59:39+00:00</updated>
<author>
<name>Usman Ehtesham Gul</name>
<email>uehtesham90@gmail.com</email>
</author>
<published>2015-09-10T16:59:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=96e8e8b92f177b3672dc5566a1e7cd010c872ccf'/>
<id>96e8e8b92f177b3672dc5566a1e7cd010c872ccf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-add resume to not break existing apps</title>
<updated>2014-06-11T17:27:36+00:00</updated>
<author>
<name>Eric L Frederich</name>
<email>eric.frederich@siemens.com</email>
</author>
<published>2014-06-11T17:27:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=da3178f377b34230792c70a48cc992500578316f'/>
<id>da3178f377b34230792c70a48cc992500578316f</id>
<content type='text'>
as requested by Cory Benfield
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as requested by Cory Benfield
</pre>
</div>
</content>
</entry>
<entry>
<title>rename resume/resume_incomplete to permanent_redirect according to rfc7238</title>
<updated>2014-06-11T15:08:10+00:00</updated>
<author>
<name>Eric L Frederich</name>
<email>eric.frederich@siemens.com</email>
</author>
<published>2014-06-11T15:08:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-requests.git/commit/?id=ec3a2e6f04a6e268cbae747e9f1ff6ea4217f8b2'/>
<id>ec3a2e6f04a6e268cbae747e9f1ff6ea4217f8b2</id>
<content type='text'>
Use temporary_redirect intead of temporary_moved to make the words
line up nicely ;-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use temporary_redirect intead of temporary_moved to make the words
line up nicely ;-)
</pre>
</div>
</content>
</entry>
</feed>
