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

Request.is_method should be changed to eq_method? #139

Open
Jaymon opened this issue Apr 19, 2024 · 0 comments
Open

Request.is_method should be changed to eq_method? #139

Jaymon opened this issue Apr 19, 2024 · 0 comments
Labels

Comments

@Jaymon
Copy link
Owner

Jaymon commented Apr 19, 2024

I'm starting to standardize on:

  • eq_*(value) - takes one value and compares it against something internal
  • is_*() - True if some internal condition is True
  • `in_*(*values) - True if some internal value matches any of the passed in values
  • has_*() - True if some internal value exists

So if I'm using that standard then is_get() works but should call eq_method("GET")

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

No branches or pull requests

1 participant