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

Lazy parsing of headers and query parameters #7

Open
muratcorlu opened this issue Dec 4, 2019 · 0 comments
Open

Lazy parsing of headers and query parameters #7

muratcorlu opened this issue Dec 4, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@muratcorlu
Copy link
Owner

As of now, we parse headers and query parameters on every initialisation of Request object. A better approach could be doing that lazy by using some getters to not spent effort on parsing query params and headers if user don't need to read them. We'll also need to use getters for many other properties(host, ip, protocol etc) to not parse headers without really needing them.

@muratcorlu muratcorlu added the enhancement New feature or request label Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant