Skip to content

Refactor middleware and removal of forced http 404#185

Open
Alexandre-P26 wants to merge 3 commits intoGeta:masterfrom
Yaksa-ca:bug/handle-on-starting
Open

Refactor middleware and removal of forced http 404#185
Alexandre-P26 wants to merge 3 commits intoGeta:masterfrom
Yaksa-ca:bug/handle-on-starting

Conversation

@Alexandre-P26
Copy link

@Alexandre-P26 Alexandre-P26 commented Mar 16, 2026

Refactor NotFoundHandlerMiddleware to use IMiddleware and streamline response handling.

Removed condition for forced http 404, causing issues when using an active status code of HTTP 200.


Enhance RequestHandler to correctly handle 404 URIs during status code re-execution. Added logic to construct the not found URI from original request details when available.

…response handling. Removed condition for forced http 404 when allowing HTTP 200 as active code status in the options.
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

…e re-execution. Added logic to construct the not found URI from original request details when available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant