lingochamp / lingochamp/FileDownloader

response code error: 400 for file with space in name in android api 17

Open
#1,138 1 comment 0 reactions 1 assignee View on GitHub

@rantianhua is already working on this.

Since Nov 5, 2018.

need-info
Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

i have a file with space in name( example : my image.png) and result is below error . but it is work great in api 24.

error:

com.liulishuo.filedownloader.exception.FileDownloadHttpException: response code error: 400,
request headers: {Range=[bytes=0-]}
response headers: {null=[HTTP/1.1 400 Bad Request], Connection=[close], Content-Length=[311], Content-Type=[text/html; charset=us-ascii], Date=[Thu, 01 Nov 2018 07:40:40 GMT], Server=[Microsoft-HTTPAPI/2.0], X-Android-Received-Millis=[1541058250826], X-Android-Sent-Millis=[1541058250814]}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.