An OPTIONS request MAY be used to gather information about the Server's current configuration. A successful response indicated by the 204 No Content or 200 OK status MUST contain the Tus-Version header. It MAY include the Tus-Extension and Tus-Max-Size headers.
The Client SHOULD NOT include the Tus-Resumable header in the request and the Server MUST ignore the header.
Example
This example clarifies the response for an OPTIONS request. The version used in the response is 1.0.0 while the Server is also capable of handling 0.2.2 and 0.2.1. Uploads with a total size of up to 1GB are allowed and the extensions for Creation and Expiration are enabled.
Part of the tus standard.
An OPTIONS request MAY be used to gather information about the Server's current configuration. A successful response indicated by the 204 No Content or 200 OK status MUST contain the
Tus-Version
header. It MAY include theTus-Extension
andTus-Max-Size
headers.The Client SHOULD NOT include the
Tus-Resumable
header in the request and the Server MUST ignore the header. ExampleThis example clarifies the response for an OPTIONS request. The version used in the response is 1.0.0 while the Server is also capable of handling 0.2.2 and 0.2.1. Uploads with a total size of up to 1GB are allowed and the extensions for Creation and Expiration are enabled.
Request:
Response: