Custom Reponse #952
Replies: 3 comments 1 reply
-
Hey @Eyup-Devop, I don't think so. You would have to tweak the middleware everywhere (e.g. Lines 146 to 147 in b887a58 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can't you do a redirect?
…On Mon, Jan 8, 2024 at 10:19 PM Matteo Pace ***@***.***> wrote:
Hey @Eyup-Devop <https://github.com/Eyup-Devop>, I don't think so. You
would have to tweak the middleware everywhere (e.g.
w.WriteHeader(obtainStatusCodeFromInterruptionOrDefault(it, http.StatusOK))
an interruption is enforced. Currently, it is just setting the status code
su 403. Feel free to open an issue about it to track the feature request
—
Reply to this email directly, view it on GitHub
<#952 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYARHCTSGBY6LNXSGWOLYNRPG3AVCNFSM6AAAAABBSAAAZWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DANJVHEYTK>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
… On Tue, Jan 9, 2024 at 8:17 PM Eyüp SARAL ***@***.***> wrote:
how can I do redirect?
—
Reply to this email directly, view it on GitHub
<#952 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYAUGI7OEGEJYN433TN3YNWJTRAVCNFSM6AAAAABBSAAAZWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DANZQHAZDQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello,
I want to send to client custom page for blocked request, is there a way to do it
txhttp.WrapHandler(waf, ...)
Beta Was this translation helpful? Give feedback.
All reactions