]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/asio/example/cpp03/http/server4/mime_types.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / http / server4 / mime_types.hpp
CommitLineData
7c673cae
FG
1//
2// mime_types.hpp
3// ~~~~~~~~~~~~~~
4//
f67539c2 5// Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
7c673cae
FG
6//
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)
9//
10
11#ifndef HTTP_SERVER4_MIME_TYPES_HPP
12#define HTTP_SERVER4_MIME_TYPES_HPP
13
14#include <string>
15
16namespace http {
17namespace server4 {
18namespace mime_types {
19
20/// Convert a file extension into a MIME type.
21std::string extension_to_type(const std::string& extension);
22
23} // namespace mime_types
24} // namespace server4
25} // namespace http
26
27#endif // HTTP_SERVER4_MIME_TYPES_HPP