mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-24 02:28:45 +08:00
committed by
Jelle Zijlstra
parent
8794e40d41
commit
0177dedc42
@@ -4,7 +4,7 @@ from typing import (
|
||||
Any, Callable, ClassVar, Dict, List, IO, Mapping, Optional, Sequence, Tuple,
|
||||
TypeVar, Union, overload, NoReturn,
|
||||
)
|
||||
from http.client import HTTPResponse, HTTPMessage, HTTPConnectionProtocol
|
||||
from http.client import HTTPResponse, HTTPMessage, _HTTPConnectionProtocol
|
||||
from http.cookiejar import CookieJar
|
||||
from email.message import Message
|
||||
from urllib.response import addinfourl
|
||||
@@ -162,7 +162,7 @@ class AbstractHTTPHandler(BaseHandler): # undocumented
|
||||
def set_http_debuglevel(self, level: int) -> None: ...
|
||||
def do_request_(self, request: Request) -> Request: ...
|
||||
def do_open(self,
|
||||
http_class: HTTPConnectionProtocol,
|
||||
http_class: _HTTPConnectionProtocol,
|
||||
req: Request,
|
||||
**http_conn_args: Any) -> HTTPResponse: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user