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

Confusion of docs of Request pattern '?' . #315

Open
lwintermelon opened this issue Oct 29, 2024 · 0 comments
Open

Confusion of docs of Request pattern '?' . #315

lwintermelon opened this issue Oct 29, 2024 · 0 comments

Comments

@lwintermelon
Copy link

lwintermelon commented Oct 29, 2024

# Request pattern for interception.
experimental type RequestPattern extends object
properties
# Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is
# backslash. Omitting is equivalent to `"*"`.

The document says "'?' -> exactly one", but http?://httpbin.org matches both http://httpbin.org and https://httpbin.org, should it be "'?' -> zero or one" precisely or maybe I misunderstood it?

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

No branches or pull requests

1 participant