Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ContentDisposition to become empty #1300

Merged
merged 1 commit into from
Jan 31, 2018
Merged

Allow ContentDisposition to become empty #1300

merged 1 commit into from
Jan 31, 2018

Conversation

rikvdh
Copy link
Contributor

@rikvdh rikvdh commented Jan 24, 2018

Sometimes a ContentDisposition is not what is desired, for example if a user needs a file served with a custom name via RenderFile(), the Name cannot be altered. Allowing to omit the Content-Disposition header gives the user the opportunity to do it themselves.

Greetings,

Rik

PS, I see that my editor (VS Code) cleaned up the code and added some missing spaces, I hope this is not a problem for you?

@notzippy notzippy merged commit 81dd38f into revel:develop Jan 31, 2018
notzippy added a commit to revel/revel.github.io that referenced this pull request Feb 5, 2018
 Add the revel.None for Content Disposition as for revel/revel#1300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants