libdap  Updated for version 3.20.6
libdap4 is an implementation of OPeNDAP's DAP protocol.
media_types.h
1 // -*- mode: c++; c-basic-offset:4 -*-
2 
3 // This file is part of libdap, A C++ implementation of the OPeNDAP Data
4 // Access Protocol.
5 
6 // Copyright (c) 2013 OPeNDAP, Inc.
7 // Author: James Gallagher <jgallagher@opendap.org>
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU Lesser General Public
11 // License as published by the Free Software Foundation; either
12 // version 2.1 of the License, or (at your option) any later version.
13 //
14 // This library is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 // Lesser General Public License for more details.
18 //
19 // You should have received a copy of the GNU Lesser General Public
20 // License along with this library; if not, write to the Free Software
21 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 //
23 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
24 
25 
26 #ifndef MEDIA_TYPES_H_
27 #define MEDIA_TYPES_H_
28 
29 #include <string>
30 
31 static std::string DAS1 = "dods_das";
32 static std::string DAS2 = "dods-das";
33 
34 static std::string DDS1 = "dods_dds";
35 static std::string DDS2 = "dods-dds";
36 
37 static std::string DAP2_DATA1 = "dods_data";
38 static std::string DAP2_DATA2 = "dods-data";
39 
40 static std::string DDX1 = "dods_ddx";
41 static std::string DDX2 = "dods-ddx";
42 
43 static std::string DAP2_ERR1 = "dods_error";
44 static std::string DAP2_ERR2 = "dods-error";
45 
46 static std::string WEB_ERR1 = "web_error";
47 static std::string WEB_ERR2 = "web-error";
48 
49 static std::string DAP4_DMR = "dap4-dmr";
50 static std::string DAP4_DATA = "dap4-data";
51 static std::string DAP4_ERR ="dap4-error";
52 
53 static const std::string DMR_Content_Type = "application/vnd.opendap.dap4.dataset-metadata";
54 static const std::string DAP4_DATA_Content_Type = "application/vnd.opendap.dap4.data";
55 // application/vnd.opendap.dap4.data
56 #endif /* MEDIA_TYPES_H_ */