Skip to content

Client::sendHeadRequest: allow 204 status code #454

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 1 commit into
base: main
Choose a base branch
from

Conversation

aspaseltiner-vimeo
Copy link

@aspaseltiner-vimeo aspaseltiner-vimeo commented May 17, 2025

From the Tus 1.0.0 specification:

The Server SHOULD acknowledge successful HEAD requests with a 200 OK or 204 No Content status.

The current implementation is being overly restrictive. In theory this is also only a SHOULD (so maybe a wider array of statuses should also be allowed), but this is at least an improvement.

Fixes #455 .

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.

Client implementation overly restrictive on HEAD requests
1 participant