Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully parsed Request not available in catchall handler #758

Open
gittiver opened this issue Jan 30, 2024 · 1 comment
Open

Fully parsed Request not available in catchall handler #758

gittiver opened this issue Jan 30, 2024 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@gittiver
Copy link
Member

          @The-EDev 

Another challenge is whether or not the rest of the request should be parsed in the case of a catchall handler. This however can be left up to the user either through a macro or an app function (since the app already gets passed to every connection as _handler)

At the moment the request body and so on are not being parsed in the case of a catchall handler (this is also mentioned in #669). Is there a workaround to get access to the fully parsed request in a catchall handler? I did not find how to do it just from reading the docs and skimming the code.

(I intend to use the catchall handler for custom routing)

Originally posted by @t-cadet in #493 (comment)

@gittiver gittiver added bug Something isn't working discussion The viability / implementation of the issue is up for debate labels Jan 30, 2024
@gittiver
Copy link
Member Author

probably a duplicate of #729

@gittiver gittiver added duplicate This issue or pull request already exists and removed discussion The viability / implementation of the issue is up for debate labels Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

1 participant