websocket协议解决消息发送问题 Could not decode a text frame as UTF-8.
摘要:在使用websocket 时出现了Could not decode a text frame as UTF-8 首次连接成功当发送消息时,出现了编码作错误 第一请求页面时,连接成功 当发送消息时,不加encode('utf-8') 不加ensure_ascii=False,可以连续的发送消息,但发送
阅读全文
FastDFS客户端与自定义文件存储系统
摘要:FastDFS客户端与自定义文件存储系统<1>安装 安装提供给大家的fdfs_client-py-master.zip到虚拟环境中pip install fdfs_client-py-master.zippip install mutagenpip install requests<2>使用 使用F
阅读全文