Coder Social home page Coder Social logo

Comments (4)

cg110902 avatar cg110902 commented on August 26, 2024

E/x_log:TaskProxy$InternalHandler.handleMessage(L:205): Bad request
code: 400, msg: Bad request, result: null
at org.xutils.http.request.HttpRequest.sendRequest(HttpRequest.java:189)
at org.xutils.http.loader.FileLoader.load(FileLoader.java:212)
at org.xutils.http.loader.FileLoader.load(FileLoader.java:41)
at org.xutils.http.request.UriRequest.loadResult(UriRequest.java:81)
at org.xutils.http.request.HttpRequest.loadResult(HttpRequest.java:222)
at org.xutils.http.HttpTask$RequestWorker.run(HttpTask.java:502)

E/x_log:HttpRequest.sendRequest(L:194): code: 400, msg: Bad request, result: null, url: http://gdown.baidu.com/data/wisegame/3b01550409c1ed1b/QQ_300.apk
W/x_log:HttpRetryHandler.retryRequest(L:53): Bad request
code: 400, msg: Bad request, result: null
at org.xutils.http.request.HttpRequest.sendRequest(HttpRequest.java:189)
at org.xutils.http.loader.FileLoader.load(FileLoader.java:212)
at org.xutils.http.loader.FileLoader.load(FileLoader.java:41)
at org.xutils.http.request.UriRequest.loadResult(UriRequest.java:81)
at org.xutils.http.request.HttpRequest.loadResult(HttpRequest.java:222)
at org.xutils.http.HttpTask$RequestWorker.run(HttpTask.java:502)
11-27 11:06:10.275 20158-28902/dotop.myapplication W/x_log:HttpRetryHandler.retryRequest(L:66): The Exception can not be retried.

from xutils3.

cg110902 avatar cg110902 commented on August 26, 2024

然后再点一下 又可以了 也就是说有时候从暂停到继续要点2下

from xutils3.

wyouflf avatar wyouflf commented on August 26, 2024

code: 400, msg: Bad request, result: null, 可能下载过于频繁, 服务端的的限制, 跟根据业务需要在onError里提示或自动重新请求一次. 升级到3.0.10看看result提示什么.

from xutils3.

zt80hou avatar zt80hou commented on August 26, 2024

xutils3.1.+有没有直接下载图片的方法?之前2.6版本有一个httpUtils.download(imgUrl, saveFileName, new RequestCallBack() {...},求告知

############################
RE:
x.http().get(params, new Callback.xxxCallback{.....})
x.image().loadFile(....)
x.image().loadDrawable(....)

from xutils3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.