Client请求流程

suds.client(send)
suds.transport.http(send)
urllib.request(open)
urllib.request(_open)
urllib.request(http_open/https_open)
urllib.request(do_open)
http.client(request)
http.client(_send_request)
http.client(putrequest)
http.client(_output)
将req对象和header存入_buffer的数组中
http.client(endheaders)
http.client(_send_output)
将body存入_buffer数组,再将_buffer数组转成msg字符串用于传输,最后将_buffer数组清空
http.client(send)
核心函数,用于向服务器发送请求
http.client(HTTPConnection.connect)
核心函数,用于连接服务器
socket(create_connection)
核心函数,用于创建套接字

image-20230108154946567