mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 13:33:59 +08:00
Add stubs for CGIHTTPServer (#3196)
This commit adds: * Stubs for CGIHTTPServer in the Python 2 standard library, as requested in #1147. * Stubs for six.moves.CGIHTTPServer in Python 2, as requested in #22.
This commit is contained in:
committed by
Sebastian Rittau
parent
b2cd972b17
commit
d5a918de7b
@@ -0,0 +1,8 @@
|
||||
# Stubs for CGIHTTPServer (Python 2.7)
|
||||
|
||||
from typing import List
|
||||
import SimpleHTTPServer
|
||||
|
||||
class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
||||
cgi_directories: List[str]
|
||||
def do_POST(self) -> None: ...
|
||||
+1
@@ -0,0 +1 @@
|
||||
from CGIHTTPServer import *
|
||||
Vendored
+1
-1
@@ -36,7 +36,7 @@ from . import http_client
|
||||
from . import email_mime_text
|
||||
# import email.MIMEBase as email_mime_base
|
||||
from . import BaseHTTPServer
|
||||
# import CGIHTTPServer as CGIHTTPServer
|
||||
from . import CGIHTTPServer
|
||||
from . import SimpleHTTPServer
|
||||
from . import cPickle
|
||||
from . import queue
|
||||
|
||||
Reference in New Issue
Block a user