sty
V2EX  ›  Android

关于网络请求,有个奇怪的问题

  •  
  •   sty · Sep 16, 2016 · 11789 views
    This topic created in 3527 days ago, the information mentioned may be changed or developed.
    我用的 retrofit + okhttp ,相同的请求有时候会出现 404 的情况,在电脑浏览器中是能够请求成功的

    然后我添加了一个 FORCE_NETWORK 的 interceptor ,就没有问题了

    请教,这是什么原因?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5847 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 01:50 · PVG 09:50 · LAX 18:50 · JFK 21:50
    ♥ Do have faith in what you're doing.