forked from BeyondDimension/SteamTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMediaTypeNames.cs
More file actions
54 lines (34 loc) · 1.43 KB
/
MediaTypeNames.cs
File metadata and controls
54 lines (34 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
namespace System
{
/// <summary>
/// MIME 类型
/// <para>https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Basics_of_HTTP/MIME_Types</para>
/// </summary>
public static class MediaTypeNames
{
public const string JSON = "application/json";
public const string MessagePack = "application/x-msgpack";
public const string BMP = "image/bmp";
public const string GIF = "image/gif";
public const string JPG = "image/jpeg";
public const string PNG = "image/png";
public const string ICO = "image/x-icon";
public const string WEBP = "image/webp";
public const string HEIF = "image/heif";
public const string HEIFSequence = "image/heif-sequence";
public const string HEIC = "image/heic";
public const string HEICSequence = "image/heic-sequence";
public const string AMR = "audio/amr";
public const string WAV = "audio/wav";
public const string CAF = "audio/x-caf";
public const string MP3 = "audio/mpeg";
/// <summary>
/// 二进制流,不知道下载文件类型
/// </summary>
public const string Binary = "application/octet-stream";
public const string TXT = "text/plain";
public const string HTML = "text/html";
public const string IMAGE = "image/*";
public const string APK = "application/vnd.android.package-archive";
}
}