libdap
Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
media_types.h
Go to the documentation of this file.
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
#ifndef MEDIA_TYPES_H_
26
#define MEDIA_TYPES_H_
27
28
#include <string>
29
30
static
std::string DAS1 =
"dods_das"
;
31
static
std::string DAS2 =
"dods-das"
;
32
33
static
std::string DDS1 =
"dods_dds"
;
34
static
std::string DDS2 =
"dods-dds"
;
35
36
static
std::string DAP2_DATA1 =
"dods_data"
;
37
static
std::string DAP2_DATA2 =
"dods-data"
;
38
39
static
std::string DDX1 =
"dods_ddx"
;
40
static
std::string DDX2 =
"dods-ddx"
;
41
42
static
std::string DAP2_ERR1 =
"dods_error"
;
43
static
std::string DAP2_ERR2 =
"dods-error"
;
44
45
static
std::string WEB_ERR1 =
"web_error"
;
46
static
std::string WEB_ERR2 =
"web-error"
;
47
48
static
std::string DAP4_DMR =
"dap4-dmr"
;
49
static
std::string DAP4_DATA =
"dap4-data"
;
50
static
std::string DAP4_ERR =
"dap4-error"
;
51
52
static
const
std::string DMR_Content_Type =
"application/vnd.opendap.dap4.dataset-metadata"
;
53
static
const
std::string DAP4_DATA_Content_Type =
"application/vnd.opendap.dap4.data"
;
54
// application/vnd.opendap.dap4.data
55
#endif
/* MEDIA_TYPES_H_ */
media_types.h
Generated by
1.13.2