<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/http, branch faster-bytes-iter</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-39603: Prevent header injection in http methods (GH-18485)</title>
<updated>2020-07-18T20:16:10+00:00</updated>
<author>
<name>AMIR</name>
<email>31338382+amiremohamadi@users.noreply.github.com</email>
</author>
<published>2020-07-18T20:16:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8ca8a2e8fb068863c1138f07e3098478ef8be12e'/>
<id>8ca8a2e8fb068863c1138f07e3098478ef8be12e</id>
<content type='text'>
reject control chars in http method in http.client.putrequest to prevent http header injection</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
reject control chars in http method in http.client.putrequest to prevent http header injection</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-41002: Optimize HTTPResponse.read with a given amount (GH-20943)</title>
<updated>2020-06-25T06:30:21+00:00</updated>
<author>
<name>Bruce Merry</name>
<email>bmerry@ska.ac.za</email>
</author>
<published>2020-06-25T06:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=152f0b8beea12e6282d284100b600771b968927a'/>
<id>152f0b8beea12e6282d284100b600771b968927a</id>
<content type='text'>
I've done the implementation for both non-chunked and chunked reads. I haven't benchmarked chunked reads because I don't currently have a convenient way to generate a high-bandwidth chunked stream, but I don't see any reason that it shouldn't enjoy the same benefits that the non-chunked case does. I've used the benchmark attached to the bpo bug to verify that performance now matches the unsized read case.

Automerge-Triggered-By: @methane</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I've done the implementation for both non-chunked and chunked reads. I haven't benchmarked chunked reads because I don't currently have a convenient way to generate a high-bandwidth chunked stream, but I don't see any reason that it shouldn't enjoy the same benefits that the non-chunked case does. I've used the benchmark attached to the bpo bug to verify that performance now matches the unsized read case.

Automerge-Triggered-By: @methane</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39481: PEP 585 for a variety of modules (GH-19423)</title>
<updated>2020-04-10T14:46:36+00:00</updated>
<author>
<name>Batuhan Taşkaya</name>
<email>batuhanosmantaskaya@gmail.com</email>
</author>
<published>2020-04-10T14:46:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0361556537686f857f1025ead75e6af4ca7cc94a'/>
<id>0361556537686f857f1025ead75e6af4ca7cc94a</id>
<content type='text'>
- concurrent.futures
- ctypes
- http.cookies
- multiprocessing
- queue
- tempfile
- unittest.case
- urllib.parse</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- concurrent.futures
- ctypes
- http.cookies
- multiprocessing
- queue
- tempfile
- unittest.case
- urllib.parse</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40094: CGIHTTPRequestHandler logs exit code (GH-19285)</title>
<updated>2020-04-02T01:42:05+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-02T01:42:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9a679a0e47d58aa73b7747d4e16140048c10baf5'/>
<id>9a679a0e47d58aa73b7747d4e16140048c10baf5</id>
<content type='text'>
CGIHTTPRequestHandler of http.server now logs the CGI script exit
code, rather than the CGI script exit status of os.waitpid().

For example, if the script is killed by signal 11, it now logs:
"CGI script exit code -11."</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CGIHTTPRequestHandler of http.server now logs the CGI script exit
code, rather than the CGI script exit status of os.waitpid().

For example, if the script is killed by signal 11, it now logs:
"CGI script exit code -11."</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39507: Add HTTP status 418 "I'm a Teapot" (GH-18291)</title>
<updated>2020-03-15T12:24:23+00:00</updated>
<author>
<name>Ross</name>
<email>rrhodes@users.noreply.github.com</email>
</author>
<published>2020-03-15T12:24:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=61ac612e78e4f2625977406fb6f366e0a644673a'/>
<id>61ac612e78e4f2625977406fb6f366e0a644673a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38576: Disallow control characters in hostnames in http.client (GH-18995)</title>
<updated>2020-03-14T18:56:06+00:00</updated>
<author>
<name>Ashwin Ramaswami</name>
<email>aramaswamis@gmail.com</email>
</author>
<published>2020-03-14T18:56:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9165addc22d05e776a54319a8531ebd0b2fe01ef'/>
<id>9165addc22d05e776a54319a8531ebd0b2fe01ef</id>
<content type='text'>
Add host validation for control characters for more CVE-2019-18348 protection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add host validation for control characters for more CVE-2019-18348 protection.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39509: Update HTTP status code to follow IANA (GH-18294)</title>
<updated>2020-03-14T14:12:01+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2020-03-14T14:12:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=da52be47690da0d9f78d0dce9ee5c3e4dbef49e1'/>
<id>da52be47690da0d9f78d0dce9ee5c3e4dbef49e1</id>
<content type='text'>
Add status codes 103 EARLY_HINTS and 425 TOO_EARLY.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add status codes 103 EARLY_HINTS and 425 TOO_EARLY.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35292: Avoid calling mimetypes.init when http.server is imported (GH-17822)</title>
<updated>2020-01-08T18:28:14+00:00</updated>
<author>
<name>An Long</name>
<email>aisk@users.noreply.github.com</email>
</author>
<published>2020-01-08T18:28:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5907e61a8d4da6d0f11bf1062d6d17484560a15e'/>
<id>5907e61a8d4da6d0f11bf1062d6d17484560a15e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38907: Suppress any exception when attempting to set V6ONLY. (GH-17864)</title>
<updated>2020-01-06T12:59:36+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2020-01-06T12:59:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7cdc31a14c824000cbe8b487900c9826a33f6940'/>
<id>7cdc31a14c824000cbe8b487900c9826a33f6940</id>
<content type='text'>
Fixes error attempting to bind to IPv4 address.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes error attempting to bind to IPv4 address.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38907: In http.server script, restore binding to IPv4 on Windows. (GH-17851)</title>
<updated>2020-01-06T03:32:19+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2020-01-06T03:32:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ee94bdb0598f9bc47d6a49e58fffc97aa617be96'/>
<id>ee94bdb0598f9bc47d6a49e58fffc97aa617be96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
