libdap  Updated for version 3.17.0
media_types.h
00001 // -*- mode: c++; c-basic-offset:4 -*-
00002 
00003 // This file is part of libdap, A C++ implementation of the OPeNDAP Data
00004 // Access Protocol.
00005 
00006 // Copyright (c) 2013 OPeNDAP, Inc.
00007 // Author: James Gallagher <jgallagher@opendap.org>
00008 //
00009 // This library is free software; you can redistribute it and/or
00010 // modify it under the terms of the GNU Lesser General Public
00011 // License as published by the Free Software Foundation; either
00012 // version 2.1 of the License, or (at your option) any later version.
00013 //
00014 // This library is distributed in the hope that it will be useful,
00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017 // Lesser General Public License for more details.
00018 //
00019 // You should have received a copy of the GNU Lesser General Public
00020 // License along with this library; if not, write to the Free Software
00021 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00022 //
00023 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
00024 
00025 
00026 #ifndef MEDIA_TYPES_H_
00027 #define MEDIA_TYPES_H_
00028 
00029 #include <string>
00030 
00031 static std::string DAS1 = "dods_das";
00032 static std::string DAS2 = "dods-das";
00033 
00034 static std::string DDS1 = "dods_dds";
00035 static std::string DDS2 = "dods-dds";
00036 
00037 static std::string DAP2_DATA1 = "dods_data";
00038 static std::string DAP2_DATA2 = "dods-data";
00039 
00040 static std::string DDX1 = "dods_ddx";
00041 static std::string DDX2 = "dods-ddx";
00042 
00043 static std::string DAP2_ERR1 = "dods_error";
00044 static std::string DAP2_ERR2 = "dods-error";
00045 
00046 static std::string WEB_ERR1 = "web_error";
00047 static std::string WEB_ERR2 = "web-error";
00048 
00049 static std::string DAP4_DMR = "dap4-dmr";
00050 static std::string DAP4_DATA = "dap4-data";
00051 static std::string DAP4_ERR ="dap4-error";
00052 
00053 static const std::string DMR_Content_Type = "application/vnd.opendap.dap4.dataset-metadata";
00054 static const std::string DAP4_DATA_Content_Type = "application/vnd.opendap.dap4.data";
00055 // application/vnd.opendap.dap4.data
00056 #endif /* MEDIA_TYPES_H_ */