Skip to content

fix: reduce fields in Upload-Metadata header#2702

Merged
kulmann merged 1 commit into
mainfrom
fix/upload-metadata-fields
Jun 16, 2026
Merged

fix: reduce fields in Upload-Metadata header#2702
kulmann merged 1 commit into
mainfrom
fix/upload-metadata-fields

Conversation

@JammingBen

Copy link
Copy Markdown
Member

Reduce the fields in the Upload-Metadata header to only send the ones that are part of the TUS spec. This is name and mtime. The rest of the fields doesn't get used by the server, hence no need to send them.

fixes #2677

Reduce the fields in the `Upload-Metadata` header to only send the ones
that are part of the TUS spec. This is `name` and `mtime`. The rest
of the fields doesn't get used by the server, hence no need to send
them.
@JammingBen JammingBen self-assigned this Jun 16, 2026
@JammingBen JammingBen requested a review from kulmann June 16, 2026 09:44
@kulmann kulmann merged commit 2d7a2d5 into main Jun 16, 2026
31 checks passed
@kulmann kulmann deleted the fix/upload-metadata-fields branch June 16, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TUS: web sending lots for unneeded 'Upload-Metadata' values

2 participants