Skip to main content

Bobtail CORS

CORS middleware for Bobtail

Install

pip install bobtail-cors

Usage

The default CORS set by

from bobtail_cors import BobtailCORS

app = Bobtail(routes=routes)

app.use(BobtailCORS())

If you require

# Declare your CORS options
options = {
        "origin": "http://nottoboard.com",
        "headers": "Authorization, Content-Type",
        "methods": "GET",
}
app.use(BobtailCORS(options=options))

Metadata

Release files for bobtail-cors 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bobtail-cors 0.0.1
File Size Uploaded
bobtail-cors-0.0.1.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bobtail-cors 0.0.1
File Interpreter ABI Platform
bobtail_cors-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / bobtail-cors-0.0.1.tar.gz

Download URL bobtail-cors-0.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0250165a9eb1aef0f93f1452d7bbede48fcdbf90149e5694008536bce7b0d078
BLAKE2b-256 checksum
How to use checksums
faa8d82e65a360bd5d9edb1e6e68c1646a33a21beee2629a6f676967e2e5cb68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / bobtail_cors-0.0.1-py3-none-any.whl

Download URL bobtail_cors-0.0.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac4d7b52a6b603f62d29568130074ea2c9dc26d47050af2073da4d244320faae
BLAKE2b-256 checksum
How to use checksums
190edde5785bb6ca4dadd3e6d04b5ccfe7cb3d5f0f6809b8d535f69a61b98b40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page