<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-requests.git/requests/models.py, branch alex-patch-1</title>
<subtitle>github.com: kennethreitz/requests.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/'/>
<entry>
<title>Set iter_lines() decode_unicode default to False</title>
<updated>2018-11-06T17:35:39+00:00</updated>
<author>
<name>Kyle Altendorf</name>
<email>sda@fstab.net</email>
</author>
<published>2018-11-06T17:35:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=a7aa86a933523a31e426d2e2aab01247c65ea87e'/>
<id>a7aa86a933523a31e426d2e2aab01247c65ea87e</id>
<content type='text'>
The docs just read a bit strange with `decode_unicode=None` as opposed to `False`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The docs just read a bit strange with `decode_unicode=None` as opposed to `False`.</pre>
</div>
</content>
</entry>
<entry>
<title>Use comprehensions whenever possible</title>
<updated>2018-10-17T03:34:22+00:00</updated>
<author>
<name>Hugo Osvaldo Barrera</name>
<email>hugo@barrera.io</email>
</author>
<published>2017-06-04T17:12:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=89ab030cdb83a728a30e172bc65d27ba214d2eda'/>
<id>89ab030cdb83a728a30e172bc65d27ba214d2eda</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefer https:// for URLs throughout project</title>
<updated>2018-09-30T22:14:40+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2018-09-30T22:14:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=b0ad2499c8641d29affc90f565e6628d333d2a96'/>
<id>b0ad2499c8641d29affc90f565e6628d333d2a96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Document that 'params' can also be a list of tuples</title>
<updated>2018-07-17T16:55:55+00:00</updated>
<author>
<name>Matthieu Moy</name>
<email>git@matthieu-moy.fr</email>
</author>
<published>2018-07-13T09:44:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=c008bf38836a2b5621ba7b352e9fcecacac4ee93'/>
<id>c008bf38836a2b5621ba7b352e9fcecacac4ee93</id>
<content type='text'>
Like we just did for 'data', 'params' follows the same processing and
can also be a list of tuples.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Like we just did for 'data', 'params' follows the same processing and
can also be a list of tuples.
</pre>
</div>
</content>
</entry>
<entry>
<title>Document that 'data' can be a list of tuples everywhere</title>
<updated>2018-07-17T16:45:43+00:00</updated>
<author>
<name>Matthieu Moy</name>
<email>git@matthieu-moy.fr</email>
</author>
<published>2018-07-13T09:38:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=2d1b4482c5916433a642d66c6b3d0cd28058b39e'/>
<id>2d1b4482c5916433a642d66c6b3d0cd28058b39e</id>
<content type='text'>
The documentation for the 'data' parameter of various functions was
inconsistant. The low-level function, used by every convenience API,
internally uses RequestEncodingMixin._encode_params which accepts list
of tuples as well as dictionaries, hence every function taking a data
parameter also accepts a list of tuple.

Keep the documentation short, but provide a link to Request for
details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The documentation for the 'data' parameter of various functions was
inconsistant. The low-level function, used by every convenience API,
internally uses RequestEncodingMixin._encode_params which accepts list
of tuples as well as dictionaries, hence every function taking a data
parameter also accepts a list of tuple.

Keep the documentation short, but provide a link to Request for
details.
</pre>
</div>
</content>
</entry>
<entry>
<title>Separate collections from collections.abc</title>
<updated>2018-06-12T05:14:59+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>raymond.hettinger@gmail.com</email>
</author>
<published>2018-02-05T04:15:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=7e297ed95bdbd1018657f5d6000379ecdfa54423'/>
<id>7e297ed95bdbd1018657f5d6000379ecdfa54423</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Response.content minor perf improvement</title>
<updated>2018-05-26T22:20:27+00:00</updated>
<author>
<name>Ofek Lev</name>
<email>ofekmeister@gmail.com</email>
</author>
<published>2018-05-26T22:20:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=c1b828bc95b8ed0407511b93ee260aa1032f4f8c'/>
<id>c1b828bc95b8ed0407511b93ee260aa1032f4f8c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>The library raises NoneType error when file-pointer (fp) resolves to None.</title>
<updated>2018-05-17T20:56:17+00:00</updated>
<author>
<name>Rajiv Mayani</name>
<email>mayani@isi.edu</email>
</author>
<published>2017-05-23T17:43:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=8546a15587b2a240c1d1404d3ef99365b911bf13'/>
<id>8546a15587b2a240c1d1404d3ef99365b911bf13</id>
<content type='text'>
&gt;&gt;&gt; from requests import post
&gt;&gt;&gt; r = post("https://example.com", files={"file-name": None})

However, when a param value or json field is None they are not included in the request body.

&gt;&gt;&gt; from requests import get
&gt;&gt;&gt; r = get("https://example.com", params={"file-name": None})
&gt;&gt;&gt; r.request.url

This commit makes the beahviour consistent for files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&gt;&gt;&gt; from requests import post
&gt;&gt;&gt; r = post("https://example.com", files={"file-name": None})

However, when a param value or json field is None they are not included in the request body.

&gt;&gt;&gt; from requests import get
&gt;&gt;&gt; r = get("https://example.com", params={"file-name": None})
&gt;&gt;&gt; r.request.url

This commit makes the beahviour consistent for files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clarify that Response.ok will *only* return True/False</title>
<updated>2017-11-20T09:16:35+00:00</updated>
<author>
<name>Alex Chan</name>
<email>alex@alexwlchan.net</email>
</author>
<published>2017-11-20T09:16:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=775cde0914265d7dab2bc2501ed7abe6b85c4bae'/>
<id>775cde0914265d7dab2bc2501ed7abe6b85c4bae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove legacy super() call</title>
<updated>2017-07-27T00:21:45+00:00</updated>
<author>
<name>Mark Szymanski</name>
<email>mark@blueye.com</email>
</author>
<published>2017-07-27T00:21:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-requests.git/commit/?id=e2f5a135c3048d7e6d0b2907ea8811c6943740d3'/>
<id>e2f5a135c3048d7e6d0b2907ea8811c6943740d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
