问题内容代码片段:err:=io.PutFile(nil,&ret,uptoken,filepath,filepath,nil)请问如何通过err解析HTTP状态码,例如:400、614、等等..正确答案Ife,ok:=err.(*rpc.ErrorInfo);ok{e.Code}Importgithub.com/qiniu
如何获取HTTP 状态码
