asio 0.3.8rc3 Home | Reference | Tutorial | Examples | Design
Examples

http/server/mime_types.hpp

Go to the documentation of this file.
00001 //
00002 // mime_types.hpp
00003 // ~~~~~~~~~~~~~~
00004 //
00005 // Copyright (c) 2003-2007 Christopher M. Kohlhoff (chris at kohlhoff dot com)
00006 //
00007 // Distributed under the Boost Software License, Version 1.0. (See accompanying
00008 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00009 //
00010 
00011 #ifndef HTTP_MIME_TYPES_HPP
00012 #define HTTP_MIME_TYPES_HPP
00013 
00014 #include <string>
00015 
00016 namespace http {
00017 namespace server {
00018 namespace mime_types {
00019 
00021 std::string extension_to_type(const std::string& extension);
00022 
00023 } // namespace mime_types
00024 } // namespace server
00025 } // namespace http
00026 
00027 #endif // HTTP_MIME_TYPES_HPP
asio 0.3.8rc3 Home | Reference | Tutorial | Examples | Design