Skip to main content

CORS plugin for Bottle

Project description

BottleCORS

CORS plugin for Bottle

Installation

Pip

</code></pre>
<h3>Source</h3>
<pre lang="bash"><code>wget https://raw.githubusercontent.com/thepure12/bottle-cors/main/src/bottle_cors/bottle_cors.py

Usage

Install Plugin

from bottle import Bottle
from bottle_cors import EnableCors
app = Bottle()
plugin = EnableCors()
app.install(plugin)

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

bottle-cors2-0.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

bottle_cors2-0.0.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

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