From 52f9d399cafd6be29d06b0cdf57062debd801ec7 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Mon, 31 Jul 2023 17:31:22 +0200 Subject: [PATCH] add a Header::text_xml and text_xml_utf8 types --- winixd/core/header.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/winixd/core/header.h b/winixd/core/header.h index 6483f5b..3e47a96 100644 --- a/winixd/core/header.h +++ b/winixd/core/header.h @@ -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";