GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — Handling missing mime types gracefully · Issue #534 · CrowCpp/Crow Closed Labels featureCode based project improvementgood first issuean issue suitable to start contributing to the project DescriptionIf a key isn't present in the mime_types map, an exception is thrown. This is because mime_types.at() is used at, e.g., Crow/include/crow/http_response.h Line 104 in c0bfaa7
I propose that the resolution is to search for the provided mime_type within the map using
Although this approach isn't quite as lightweight as simply sending text/plain, there are some benefits:
Activity
MetadataMetadataAssigneesLabelsfeatureCode based project improvementgood first issuean issue suitable to start contributing to the project TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |