Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
beavailable committed Dec 17, 2021
1 parent cf8d93c commit f98e4bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,11 @@ optional arguments:
```
http://{host}:{port}/file
```
使用常见的命令行工具下载文件时,会收到`Content-Disposition`首部,因此如果需要保留原始文件名,可以用:
```
wget --content-disposition http://{host}:{port}/file
```
或者是:
```
curl -OJ http://{host}:{port}/file
```

0 comments on commit f98e4bf

Please sign in to comment.