5 // Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 #ifndef HTTP_SERVER3_MIME_TYPES_HPP
12 #define HTTP_SERVER3_MIME_TYPES_HPP
18 namespace mime_types {
20 /// Convert a file extension into a MIME type.
21 std::string extension_to_type(const std::string& extension);
23 } // namespace mime_types
24 } // namespace server3
27 #endif // HTTP_SERVER3_MIME_TYPES_HPP