java.io.IOException: Server returned HTTP response code: 403 for URL

前端 未结 5 1135

I want to download the mp3 file from url : \"http://upload13.music.qzone.soso.com/30671794.mp3\", i always got java.io.IOException: Server returned HTTP response code: 403 f

5条回答
  •  北海茫月
    2020-12-13 11:09

    I would also check if the server were the resource is located has an ACL or similar in place, we just resolved a "java.io.IOException: 403" issue this way.

    It happens that 403 errors are very generic and you cannot really be sure of the source as it can be just anything.

提交回复
热议问题