Skip to content

Request.is_method should be changed to eq_method? #139

@Jaymon

Description

@Jaymon

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions