Skip to content

Commit

Permalink
doc: 修改流式下载文件注释
Browse files Browse the repository at this point in the history
  • Loading branch information
PengyuDeng authored Jan 12, 2024
1 parent 3e8c477 commit cc242e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public Mono<Void> read(@PathVariable String fileId,
exchange.getResponse().getHeaders().add("file-md5", ctx.info().getMd5());
exchange.getResponse().getHeaders().add("file-sha256", ctx.info().getSha256());

//文件流时下载文件
//文件流式下载文件
if (mediaType.includes(MediaType.APPLICATION_OCTET_STREAM)) {
exchange.getResponse().getHeaders().setContentDisposition(
ContentDisposition
Expand Down

0 comments on commit cc242e5

Please sign in to comment.