V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
voidxx
V2EX  ›  程序员

request method 'st' not supported

  •  
  •   voidxx · 2020-01-16 18:06:54 +08:00 · 1144 次点击
    这是一个创建于 1555 天前的主题,其中的信息可能已经有所发展或是发生改变。
    iOS 应用调用后端接口时,偶尔会出现这个异常,出现频率很低,也很难复现,搜索到 github Moya 上有两个 issue,最后都没说明白是什么问题和怎么解决。

    https://github.com/Moya/Moya/issues/1533
    https://github.com/Alamofire/Alamofire/pull/2887

    iOS 端用的 Http 库是 Alamofire 上面再封装了一层 Moya
    github "Moya/Moya" "14.0.0-beta.5"
    github "Alamofire/Alamofire" "5.0.0-rc.3"

    后端接口是 Springboot 1.5.9

    PS:只在 iOS 侧偶尔出现,Android 端一直正常。
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2564 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 04:41 · PVG 12:41 · LAX 21:41 · JFK 00:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.