Skip to content

Conversation

@liuqun
Copy link

@liuqun liuqun commented Jul 17, 2024

兼容性问题:

  1. 调整上传协议中的POST/PATCH 请求应该允许客户端不填写 Content-Length 头, 上传字节数以实际 body 正文长度为准;
  2. 改正下载文件限制Content-Type类型值导致无法下载的bug;
  3. 下载附件中文文件名进行UTF-8 URLEncoder转义避免乱码;

测试环境对标的客户端为 https://github.com/tus/tus-java-client

<dependency>
  <groupId>io.tus.java.client</groupId>
  <artifactId>tus-java-client</artifactId>
  <version>0.5.0</version>
</dependency>

2024-7-17

@liuqun liuqun marked this pull request as ready for review July 17, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant