All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WebHeaderHelpers.h
1 // Copyright eeGeo Ltd (2012-2016), All Rights Reserved
2 
3 #pragma once
4 
5 #include "IWebLoadRequest.h"
6 #include <string>
7 #include <map>
8 
9 namespace Eegeo
10 {
11  namespace Web
12  {
13  namespace MIMETypes
14  {
15  const std::string ApplicationOctetStream = "application/octet-stream";
16  const std::string BinaryOctetStream = "binary/octet-stream";
17  const std::string PlainText = "text/plain";
18  const std::string Png = "image/png";
19  const std::string XPng = "image/x-png";
20  const std::string Dds = "image/vnd.ms-dds";
21  const std::string AlternativeDds = "image/dds";
22  const std::string Pvr = "image/Imagination-TexTool-PVR";
23  const std::string Ktx = "image/ktx";
24  const std::string ApplicationGzip = "application/gz";
25  const std::string ApplicationGzip2 = "application/gzip";
26  const std::string ApplicationGzip3 = "application/x-gzip";
27  const std::string BinaryGzip = "binary/gz";
28  }
29 
30  namespace WebHeaderHelpers
31  {
32  void ParseHeaderDataToMap(const TResourceData& headerData, std::map<std::string, std::string>& out_map);
33  }
34  }
35 }