Class CreationHeadRequestHandler

java.lang.Object
me.desair.tus.server.util.AbstractRequestHandler
me.desair.tus.server.creation.CreationHeadRequestHandler
All Implemented Interfaces:
RequestHandler

public class CreationHeadRequestHandler extends AbstractRequestHandler
A HEAD request can be used to retrieve the metadata that was supplied at creation.
If an upload contains additional metadata, responses to HEAD requests MUST include the Upload-Metadata header and its value as specified by the Client during the creation.
As long as the length of the upload is not known, the Server MUST set Upload-Defer-Length: 1 in all responses to HEAD requests.