Class CoreHeadRequestHandler

java.lang.Object
me.desair.tus.server.util.AbstractRequestHandler
me.desair.tus.server.core.CoreHeadRequestHandler
All Implemented Interfaces:
RequestHandler

public class CoreHeadRequestHandler extends AbstractRequestHandler
A HEAD request is used to determine the offset at which the upload should be continued.
The Server MUST always include the Upload-Offset header in the response for a HEAD request, even if the offset is 0, or the upload is already considered completed. If the size of the upload is known, the Server MUST include the Upload-Length header in the response.
The Server MUST prevent the client and/or proxies from caching the response by adding the Cache-Control: no-store header to the response.