![]() | 1 est 2020-11-20 19:30:20 +08:00 ![]() 是谁让你直接拿 wsgiref 开撸接口的,你去怼它。 |
2 GodFastion 2020-11-20 21:44:46 +08:00 via Android python 写接口有更好的选择吧,fastapi flask 都比较轻量好用吧, |
3 youngce 2020-11-20 21:49:20 +08:00 这就好比你来到了一个米其林餐厅,却选择了自己煮泡面吃 |
![]() | 4 MoYi123 2020-11-20 23:19:51 +08:00 return resp.encode('utf-8') 改成 return [resp.encode('utf-8')] 即可 |
5 julyclyde 2020-11-21 19:45:18 +08:00 it must return a write(body_data) callable 这句话咋理解? |
6 julyclyde 2020-11-21 19:49:22 +08:00 抱歉上面那句是我看错章节了 |