Skip to content

Commit

Permalink
md update
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed Jun 20, 2018
1 parent 1720d36 commit d4d9f03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Connection | keep-alive
User-Agent | Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36
Accept | text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer | {host}

We can customize the request header,when overlapping with the default value, the default request header is overwritten.
*{host} is Domain name parsed from url*
#### content
Expand All @@ -35,6 +36,7 @@ timeout | 30(S) | If no response during this time,will re-initiate connection.
retryCount | 5 | All connection download exceptions exceed this times,will be stop download.
autoRename | false | Automatic rename when checking to download directory with duplicate file.
speedLimit | 0(B/S) | Download speed limit.

## demo
```
//Download a file with URL
Expand Down

0 comments on commit d4d9f03

Please sign in to comment.