Skip to main content

Check if a number is a redirect HTTP status code

Project description

isRedirect

Check if a number is a redirect HTTP status code

Demo

Demo on Repl.it

Screenshot

Install

$ pip install isredirect

Usage

from isredirect import isRedirect

isRedirect(300)
#=> True

isRedirect(200)
#=> False

License

MIT Yoginth

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

isredirect-1.0.1.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file isredirect-1.0.1.tar.gz.

File metadata

  • Download URL: isredirect-1.0.1.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for isredirect-1.0.1.tar.gz
Algorithm Hash digest
SHA256 70cac42bebd84efe21eb4f7ded352bedc95814a06a74c58de19e6193740aea3d
MD5 91075f9af5be04825436e39b9f3ab15e
BLAKE2b-256 60cf8b613d01cc751605534982a131789ff4f592901191ccb8d73cdbd22fef86

See more details on using hashes here.

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