Article Details
Id: | 16392 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.02.03 |
Opened: | 26/09/2019 |
Closed: | 26/09/2019 |
Released: | 22/11/2019 |
Job: | J023031 |
New business layer to get HTTP Content Type from a file extension
A new GetHttpContentTypeFromFileExtension method has been added to finBL.Runtime.WebUtilities.
This returns the HTTP Content Type given a file extension, e.g., "PDF" will give a content type of "application/pdf".
Unrecognised file extensions return "application/octet-stream".