tus-php icon indicating copy to clipboard operation
tus-php copied to clipboard

Client::sendHeadRequest: allow 204 status code

Open aspaseltiner-vimeo opened this issue 6 months ago • 0 comments
trafficstars

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 .

aspaseltiner-vimeo avatar May 17 '25 15:05 aspaseltiner-vimeo