Skip to main content

HTTP methods that python supports

Project description

Methods

HTTP verbs that python core's HTTP parser supports.

This module provides an export that is just like HTTP request methods from Developer Mozilla, with the following differences:

  • All method names are lower-cased.

We use the methods package from Node.js as inspiration

Install

Install and update using Pip:

$ pip install httpmethods

API

import httpmethods as methods

A Simple Example

from httpmethods import getHttpMethods

for method in getHttpMethods():
    print(method)
$ get
$ post
$ put
$ delete
$ ...

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

httpmethods-0.0.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page