to be able to handle the header, it should be exposed as well...

This commit is contained in:
Julian Berkner 2020-05-27 12:29:53 +02:00
parent c611f55608
commit c563ed70ef
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ func (handler *UnroutedHandler) Middleware(h http.Handler) http.Handler {
} else { } else {
// Actual request // Actual request
header.Add("Access-Control-Expose-Headers", "Upload-Offset, Location, Upload-Length, Tus-Version, Tus-Resumable, Tus-Max-Size, Tus-Extension, Upload-Metadata, Upload-Defer-Length, Upload-Concat") header.Add("Access-Control-Expose-Headers", "Upload-Offset, Location, Upload-Length, Tus-Version, Tus-Resumable, Tus-Max-Size, Tus-Extension, Upload-Metadata, Upload-Defer-Length, Upload-Concat, X-pre-finish-response")
} }
} }