mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Create http package. #2883.
This commit is contained in:
parent
744c2cd325
commit
2442015af2
50 changed files with 930 additions and 1203 deletions
|
@ -1,4 +1,4 @@
|
|||
import httplib
|
||||
import http.client as httplib
|
||||
import io
|
||||
import socket
|
||||
|
||||
|
@ -48,8 +48,6 @@ class HeaderTests(TestCase):
|
|||
# Some headers are added automatically, but should not be added by
|
||||
# .request() if they are explicitly set.
|
||||
|
||||
import httplib
|
||||
|
||||
class HeaderCountingBuffer(list):
|
||||
def __init__(self):
|
||||
self.count = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue