python http通信实现,,http协议通信需要
python http通信实现,,http协议通信需要
http协议通信需要httpServer和httpClient.
在python中
httpServer的实现类是server.py文件,要跟实现tcp,udpServer的文件socketserver.py区分开
httpClient的实现类是client.py文件,也可以使用urllib库自己实现httpclient。
http是基于tcp/udp传输的,所以server.py和client.py文件中会涉及socket,socketserver类。
python http通信实现
评论关闭