[docs]classMethod(str,Enum):"""The Request Method (VERB) This type also contains constants for a number of common HTTP methods such as GET, POST, etc. Currently includes 8 variants representing the 8 methods defined in [RFC 7230](https://tools.ietf.org/html/rfc7231#section-4.1), plus PATCH, and an Extension variant for all extensions. """# noqa: E501"""# The `OPTIONS` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.2.1). """# noqa: E501OPTIONS="OPTIONS""""# The `GET` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.1). """# noqa: E501GET="GET""""# The `POST` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.1). """# noqa: E501POST="POST""""# The `PUT` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.1). """# noqa: E501PUT="PUT""""# The `DELETE` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.5). """# noqa: E501DELETE="DELETE""""# The `HEAD` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.2). """# noqa: E501HEAD="HEAD""""# The `TRACE` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3). """# noqa: E501TRACE="TRACE""""# The `CONNECT` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.6). """# noqa: E501CONNECT="CONNECT""""# The `PATCH` method as defined in [RFC 5789](https://tools.ietf.org/html/rfc5789). """# noqa: E501PATCH="PATCH""""# A catch all. """# noqa: E501EXTENSION="EXTENSION"def__str__(self)->str:returnstr(self.value)