Skip to content

TUS1.0.0文件传输协议兼容性补丁 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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