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

[Announcement] Static File CSV Content-Type Changed to "text/csv" #17385

Closed
Tratcher opened this issue Nov 25, 2019 · 1 comment
Closed

[Announcement] Static File CSV Content-Type Changed to "text/csv" #17385

Tratcher opened this issue Nov 25, 2019 · 1 comment
Labels
breaking-change This issue / pr will introduce a breaking change, when resolved / merged.
Milestone

Comments

@Tratcher
Copy link
Member

Static File CSV Content-Type Changed to "text/csv"

The default Content-Type that StaticFiles uses for .csv files is being changed to be the standards compliant value text/csv.

Version introduced

5.0

Old behavior

The Content-Type application/octet-stream was used.

New behavior

The Content-Type text/csv is used.

Reason for change

This complies with RFC 7111.

Recommended action

If this change impacts your application then the Content-Type mapping can be customized as documented here.

Category

ASP.NET

Affected APIs

FileExtensionContentTypeProvider


Issue metadata

  • Issue type: breaking-change
@Tratcher Tratcher added discussion breaking-change This issue / pr will introduce a breaking change, when resolved / merged. labels Nov 25, 2019
@Tratcher Tratcher added this to the Discussions milestone Nov 25, 2019
@ghost
Copy link

ghost commented Dec 2, 2020

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog clean. If you believe there is a concern related to the ASP.NET Core framework, which hasn't been addressed yet, please file a new issue.

This issue will be locked after 30 more days of inactivity. If you still wish to discuss this subject after then, please create a new issue!

@ghost ghost closed this as completed Dec 2, 2020
@dotnet dotnet locked as resolved and limited conversation to collaborators Jan 1, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking-change This issue / pr will introduce a breaking change, when resolved / merged.
Projects
None yet
Development

No branches or pull requests

2 participants