本站改版新增arduino频道
HTTP协议
def geturlhttp(url): try: proto, dummy, host, path = url.split("/", 3) #print("proto "+proto) #print("dummy "+dummy) #print("host "+host) #print("path "+path) return proto
如:http://www.xxx.com/123/api/r1.php
结果:http:
Copyright © 2014 ESP56.com All Rights Reserved
晋ICP备14006235号-22 晋公网安备14108102001165号
执行时间: 0.0095319747924805 seconds