tus-java-server icon indicating copy to clipboard operation
tus-java-server copied to clipboard

Providing our own error message

Open Lesrac opened this issue 3 years ago • 0 comments

Expected Behaviour

When a call exceeds the defined MaxUploadSize we would like to provide our own error response, so that it matches our other responses made to the frontend.

Actual Behaviour

A (correct) 413 is returned with a predefined error message.

Question

Is there a way to define/use our own response in this case?

Lesrac avatar Oct 05 '21 14:10 Lesrac