add a Header::text_xml and text_xml_utf8 types

This commit is contained in:
Tomasz Sowa 2023-07-31 17:31:22 +02:00
parent 7b7a962f19
commit 52f9d399ca
Signed by: tomasz.sowa
GPG Key ID: 662CC1438638588B
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2021-2022, Tomasz Sowa
* Copyright (c) 2021-2023, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -81,6 +81,7 @@ public:
static constexpr const wchar_t * application_xhtml_xml = L"application/xhtml+xml";
static constexpr const wchar_t * text_csv = L"text/csv";
static constexpr const wchar_t * text_javascript = L"text/javascript";
static constexpr const wchar_t * text_xml = L"text/xml";
static constexpr const wchar_t * all_all = L"*/*";
static constexpr const wchar_t * text_all = L"text/*";
@ -92,6 +93,7 @@ public:
static constexpr const wchar_t * application_xhtml_xml_utf8 = L"application/xhtml+xml; charset=UTF-8";
static constexpr const wchar_t * text_csv_utf8 = L"text/csv; charset=UTF-8";
static constexpr const wchar_t * text_javascript_utf8 = L"text/javascript; charset=UTF-8";
static constexpr const wchar_t * text_xml_utf8 = L"text/xml; charset=UTF-8";
static constexpr const wchar_t * application_x_www_form_urlencoded = L"application/x-www-form-urlencoded";
static constexpr const wchar_t * multipart_form_data = L"multipart/form-data";