Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return error of context.File in c.contentDisposition
context.Attachment and context.Inline use context.contentDisposition under the hood. However, context.contentDisposition does not forward the error of context.File, leading to response 200 OK even when the file does not exist. This commit forward the return value of context.File to context.contentDisposition to prevent that.
- Loading branch information