5 // Copyright (c) 2003-2013 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)
13 #include <seastar/core/sstring.hh>
19 namespace mime_types {
22 * Convert a file extension into a MIME type.
24 * @param extension the file extension
25 * @return the mime type as a string
27 const char* extension_to_type(const sstring& extension);
29 } // namespace mime_types