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

Add a function for parsing all remaining path segments. #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EdSchouten
Copy link

Having an operation like this is useful for cases where you need to forward/process arbitrary requests for a certain path prefix. While there, make a tiny cleanup to the parser by removing an unused field in the parser state.

Fixes: #9

Ed Schouten added 2 commits April 11, 2019 09:21
The parser state is not exposed by this module. Considering that nothing
in the parser relies on it, we can safely omit it.
Having an operation like this is useful for cases where you need to
forward/process arbitrary requests for a certain path prefix.

Fixes: elm#9
@bmillwood
Copy link

ah, I noticed the same thing as you with the unused visited field and made #50 before I realized it was here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow parsing the complete 'pathname' at once
3 participants