<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-requests.git/tests/test_requests.py, branch test_urllib3_dev</title>
<subtitle>github.com: kennethreitz/requests.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/'/>
<entry>
<title>wrap url parsing exceptions from urllib3's PoolManager</title>
<updated>2018-10-01T00:36:05+00:00</updated>
<author>
<name>Nate Prewitt</name>
<email>Nate.Prewitt@gmail.com</email>
</author>
<published>2018-10-01T00:36:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=bbdbcc8f0553f112ff68b0950b4128bd8af000fc'/>
<id>bbdbcc8f0553f112ff68b0950b4128bd8af000fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework authorization stripping logic as discussed</title>
<updated>2018-09-14T08:44:43+00:00</updated>
<author>
<name>Bruce Merry</name>
<email>bmerry@ska.ac.za</email>
</author>
<published>2018-08-14T11:30:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=857e9b7ac20c3accf4cc328f594aecb8b6a644a6'/>
<id>857e9b7ac20c3accf4cc328f594aecb8b6a644a6</id>
<content type='text'>
The exception for http-&gt;https upgrade now requires the standard HTTP(S)
ports to be used, either implicitly (no port specified) or explicitly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The exception for http-&gt;https upgrade now requires the standard HTTP(S)
ports to be used, either implicitly (no port specified) or explicitly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Strip Authorization header whenever root URL changes</title>
<updated>2018-09-14T08:44:43+00:00</updated>
<author>
<name>Bruce Merry</name>
<email>bmerry@ska.ac.za</email>
</author>
<published>2018-06-28T14:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=3331e2aecdbf575dd60abef4df79c52d78610a83'/>
<id>3331e2aecdbf575dd60abef4df79c52d78610a83</id>
<content type='text'>
Previously the header was stripped only if the hostname changed, but in
an https -&gt; http redirect that can leak the credentials on the wire
(#4716). Based on with RFC 7235 section 2.2, the header is now stripped
if the "canonical root URL" (scheme+authority) has changed, by checking
scheme, hostname and port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously the header was stripped only if the hostname changed, but in
an https -&gt; http redirect that can leak the credentials on the wire
(#4716). Based on with RFC 7235 section 2.2, the header is now stripped
if the "canonical root URL" (scheme+authority) has changed, by checking
scheme, hostname and port.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for multivalued form-encoded element as a list (#4700)</title>
<updated>2018-07-20T07:30:31+00:00</updated>
<author>
<name>Antti Kaihola</name>
<email>antti.kaihola@eniram.fi</email>
</author>
<published>2018-06-20T19:12:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=691e9520ed1ed7d1d686f2fa1cc76a1d5c24e335'/>
<id>691e9520ed1ed7d1d686f2fa1cc76a1d5c24e335</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused httpbin parameters</title>
<updated>2018-07-18T02:39:18+00:00</updated>
<author>
<name>Steven M. Vascellaro</name>
<email>svascellaro@gmail.com</email>
</author>
<published>2018-06-26T18:31:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=4d51e6d20179bdc906c45506c0817b6b677589ae'/>
<id>4d51e6d20179bdc906c45506c0817b6b677589ae</id>
<content type='text'>
httpbin is used to mock HTTP endpoints. In these methods, the parameter
goes unused.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
httpbin is used to mock HTTP endpoints. In these methods, the parameter
goes unused.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused session variables</title>
<updated>2018-06-26T16:34:15+00:00</updated>
<author>
<name>Steven M. Vascellaro</name>
<email>svascellaro@gmail.com</email>
</author>
<published>2018-06-26T16:34:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=28da72b61692c6c2ce11b4a41ce4d2984d190745'/>
<id>28da72b61692c6c2ce11b4a41ce4d2984d190745</id>
<content type='text'>
Removed local session variables that go unused during testing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed local session variables that go unused during testing.
</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://git.baserock.org/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>Add a public method to get the cookie policy</title>
<updated>2018-06-12T05:13:07+00:00</updated>
<author>
<name>Laurent Bachelier</name>
<email>laurent@bachelier.name</email>
</author>
<published>2018-02-14T18:20:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=10915e3b0d3708a093171211d51d0eea283dbe25'/>
<id>10915e3b0d3708a093171211d51d0eea283dbe25</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cookie policy related tests</title>
<updated>2018-06-12T05:13:07+00:00</updated>
<author>
<name>Laurent Bachelier</name>
<email>laurent@bachelier.name</email>
</author>
<published>2018-02-14T16:42:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=ace0c200f4a35f4f98a2672b46b03b89a53c50d9'/>
<id>ace0c200f4a35f4f98a2672b46b03b89a53c50d9</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://git.baserock.org/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>
</feed>
