<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/urllib/request.py, branch master</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>Issue #29142: Merge 3.6.</title>
<updated>2017-01-09T03:52:10+00:00</updated>
<author>
<name>Xiang Zhang</name>
<email>angwerzx@126.com</email>
</author>
<published>2017-01-09T03:52:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=8bbffb18339834989bcc5113fa869394a5ab435e'/>
<id>8bbffb18339834989bcc5113fa869394a5ab435e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29142: Merge 3.5.</title>
<updated>2017-01-09T03:50:02+00:00</updated>
<author>
<name>Xiang Zhang</name>
<email>angwerzx@126.com</email>
</author>
<published>2017-01-09T03:50:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=98220f6f241ac72cc78b9587905b3245b497a83a'/>
<id>98220f6f241ac72cc78b9587905b3245b497a83a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29142: Fix suffixes in no_proxy handling in urllib.</title>
<updated>2017-01-09T03:47:55+00:00</updated>
<author>
<name>Xiang Zhang</name>
<email>angwerzx@126.com</email>
</author>
<published>2017-01-09T03:47:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=852e2d9f0ec2373747899f2ef962d40f29c47b56'/>
<id>852e2d9f0ec2373747899f2ef962d40f29c47b56</id>
<content type='text'>
In urllib.request, suffixes in no_proxy environment variable with
leading dots could match related hostnames again (e.g. .b.c matches a.b.c).
Patch by Milan Oberkirch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In urllib.request, suffixes in no_proxy environment variable with
leading dots could match related hostnames again (e.g. .b.c matches a.b.c).
Patch by Milan Oberkirch.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused imports.</title>
<updated>2016-12-16T18:00:15+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-16T18:00:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=71671fce07c5e1a483970ddcd92895d834bd7e08'/>
<id>71671fce07c5e1a483970ddcd92895d834bd7e08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.</title>
<updated>2016-09-10T21:23:33+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2016-09-10T21:23:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=de56c23b9a770f4872dd5a89478b0b334cc7de86'/>
<id>de56c23b9a770f4872dd5a89478b0b334cc7de86</id>
<content type='text'>
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.

ssl.wrap_socket() is not marked as deprecated yet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.

ssl.wrap_socket() is not marked as deprecated yet.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge</title>
<updated>2016-09-09T23:44:53+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2016-09-09T23:44:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=a48be2f1f400d1d58196b72dc7c6b4bc1817da1a'/>
<id>a48be2f1f400d1d58196b72dc7c6b4bc1817da1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22450: Use "Accept: */*" in the default headers for urllib.request</title>
<updated>2016-09-09T23:43:48+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2016-09-09T23:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=da55208526e86c05fae92abd408dae9f72c8821a'/>
<id>da55208526e86c05fae92abd408dae9f72c8821a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #12319: Support for chunked encoding of HTTP request bodies</title>
<updated>2016-08-24T06:33:33+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-08-24T06:33:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=1d17079876f2e0b64a048eee2c1d11f1b4f7815e'/>
<id>1d17079876f2e0b64a048eee2c1d11f1b4f7815e</id>
<content type='text'>
When the body object is a file, its size is no longer determined with
fstat(), since that can report the wrong result (e.g. reading from a pipe).
Instead, determine the size using seek(), or fall back to chunked encoding
for unseekable files.

Also, change the logic for detecting text files to check for TextIOBase
inheritance, rather than inspecting the ?mode? attribute, which may not
exist (e.g. BytesIO and StringIO).  The Content-Length for text files is no
longer determined ahead of time, because the original logic could have been
wrong depending on the codec and newline translation settings.

Patch by Demian Brecht and Rolf Krahl, with a few tweaks by me.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the body object is a file, its size is no longer determined with
fstat(), since that can report the wrong result (e.g. reading from a pipe).
Instead, determine the size using seek(), or fall back to chunked encoding
for unseekable files.

Also, change the logic for detecting text files to check for TextIOBase
inheritance, rather than inspecting the ?mode? attribute, which may not
exist (e.g. BytesIO and StringIO).  The Content-Length for text files is no
longer determined ahead of time, because the original logic could have been
wrong depending on the codec and newline translation settings.

Patch by Demian Brecht and Rolf Krahl, with a few tweaks by me.
</pre>
</div>
</content>
</entry>
<entry>
<title>[merge from 3.5] - Prevent HTTPoxy attack (CVE-2016-1000110)</title>
<updated>2016-07-31T06:51:13+00:00</updated>
<author>
<name>Senthil Kumaran</name>
<email>senthil@uthcode.com</email>
</author>
<published>2016-07-31T06:51:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=791751a636401c739cd4a3ac8ddef03343dc0435'/>
<id>791751a636401c739cd4a3ac8ddef03343dc0435</id>
<content type='text'>
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by R?mi Rampin.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by R?mi Rampin.
</pre>
</div>
</content>
</entry>
<entry>
<title>[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)</title>
<updated>2016-07-31T06:39:06+00:00</updated>
<author>
<name>Senthil Kumaran</name>
<email>senthil@uthcode.com</email>
</author>
<published>2016-07-31T06:39:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=5e9147fb2ccd82df8175769f56cdb842c4487a6b'/>
<id>5e9147fb2ccd82df8175769f56cdb842c4487a6b</id>
<content type='text'>
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by R?mi Rampin.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by R?mi Rampin.
</pre>
</div>
</content>
</entry>
</feed>
