NancyFx / Nancy

Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
http://nancyfx.org
MIT License
7.15k stars 1.47k forks source link

Mime Type for CSV files missing #2922

Open billgeek opened 6 years ago

billgeek commented 6 years ago

Prerequisites

Description

MimeTypes.GetMimeType("filename.csv") returns application/octet-stream which is not correct according to the RFC 7111. It should be text/csv.

Steps to Reproduce

System Configuration

Any environment

The source file (Nancy\src\Nancy\MimeTypes.cs) does not include an entry for CSV files.