do not send content when there is a htmx redirect
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021-2023, Tomasz Sowa
|
||||
* Copyright (c) 2021-2024, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -63,6 +63,18 @@ public:
|
||||
static constexpr const wchar_t * access_control_expose_headers = L"Access-Control-Expose-Headers";
|
||||
static constexpr const wchar_t * access_control_max_age = L"Access-Control-Max-Age";
|
||||
|
||||
static constexpr const wchar_t * hx_location = L"HX-Location";
|
||||
static constexpr const wchar_t * hx_push_url = L"HX-Push-Url";
|
||||
static constexpr const wchar_t * hx_redirect = L"HX-Redirect";
|
||||
static constexpr const wchar_t * hx_refresh = L"HX-Refresh";
|
||||
static constexpr const wchar_t * hx_replace_url = L"HX-Replace-Url";
|
||||
static constexpr const wchar_t * hx_reswap = L"HX-Reswap";
|
||||
static constexpr const wchar_t * hx_retarget = L"HX-Retarget";
|
||||
static constexpr const wchar_t * hx_reselect = L"HX-Reselect";
|
||||
static constexpr const wchar_t * hx_trigger = L"HX-Trigger";
|
||||
static constexpr const wchar_t * hx_trigger_after_settle = L"HX-Trigger-After-Settle";
|
||||
static constexpr const wchar_t * hx_trigger_after_swap = L"HX-Trigger-After-Swap";
|
||||
|
||||
/*
|
||||
* headers' names lower case
|
||||
*/
|
||||
|
Reference in New Issue
Block a user