snapshot before regression test
This commit is contained in:
39
Test/WebTest/temp/b558d8d8f01f4825.pyi
Normal file
39
Test/WebTest/temp/b558d8d8f01f4825.pyi
Normal file
@@ -0,0 +1,39 @@
|
||||
"""
|
||||
Auto-generated Python stub file from requests.py
|
||||
Module: requests
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
from stdint import *
|
||||
import string
|
||||
import socket
|
||||
import memhub
|
||||
import stdio
|
||||
|
||||
_mbuddy: t.CExtern | memhub.MemBuddy | t.CPtr
|
||||
_socket_ready: t.CExtern | bool
|
||||
HTTP_PORT: t.CDefine = 80
|
||||
HTTP_BUFSIZ: t.CDefine = 4096
|
||||
|
||||
class Response:
|
||||
status_code: INT
|
||||
text: str
|
||||
body_len: INT
|
||||
_raw_buf: str
|
||||
|
||||
def _EnsureSocketInit() -> INT: pass
|
||||
|
||||
def _AllocResponse() -> Response | t.CPtr: pass
|
||||
|
||||
def _ParseUrl(url: str, host_buf: str, host_size: INT, path_buf: str, path_size: INT, port: INT | t.CPtr) -> INT: pass
|
||||
|
||||
def _ParseStatusLine(resp_text: str, out_code: INT | t.CPtr) -> INT: pass
|
||||
|
||||
def _FindBodyStart(resp_text: str, resp_len: INT) -> INT: pass
|
||||
|
||||
def get(url: str) -> Response | t.CPtr: pass
|
||||
|
||||
def post(url: str, data: str, content_type: str) -> Response | t.CPtr: pass
|
||||
|
||||
def release(resp: Response | t.CPtr) -> t.CInt: pass
|
||||
Reference in New Issue
Block a user