Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

URI parser operator #12

Merged
merged 2 commits into from
Feb 5, 2021
Merged

URI parser operator #12

merged 2 commits into from
Feb 5, 2021

Conversation

jsirianni
Copy link
Member

Porting the URI operator from Stanza. The goal of this operator is to take an absolute URI, relative URI, or query string and return the parsed result.

relative path before

/about-us?app=prod&user=james&app=stage

relative path after

"path": "/about-us",
"query": {
      "app": [
        "prod",
        "stage"
      ],
      "user": [
        "james"
      ]
    },

Initial Stanza implementation has more examples observIQ/stanza#244

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

Successfully merging this pull request may close these issues.

2 participants