add a Header::text_xml and text_xml_utf8 types
This commit is contained in:
parent
7b7a962f19
commit
52f9d399ca
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2021-2022, Tomasz Sowa
|
* Copyright (c) 2021-2023, Tomasz Sowa
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* 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 * application_xhtml_xml = L"application/xhtml+xml";
|
||||||
static constexpr const wchar_t * text_csv = L"text/csv";
|
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_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 * all_all = L"*/*";
|
||||||
static constexpr const wchar_t * text_all = L"text/*";
|
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 * 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_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_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 * application_x_www_form_urlencoded = L"application/x-www-form-urlencoded";
|
||||||
static constexpr const wchar_t * multipart_form_data = L"multipart/form-data";
|
static constexpr const wchar_t * multipart_form_data = L"multipart/form-data";
|
||||||
|
|
Loading…
Reference in New Issue