{ "info": { "author": "Moritz K.", "author_email": "moritzmhmk@googlemail.com", "bugtrack_url": null, "classifiers": [], "description": "WSGI-CORS-Middleware\n====================\n\nCross Origin Resource Sharing (CORS) Middleware for WSGI Applications.\n\nUsage\n-----\n\nUse the ``CorsMiddleware`` from ``wsgi_cors_middleware``.\n\n.. code:: python\n\n from wsgi_cors_middleware import CorsMiddleware\n application = CorsMiddleware(\n application,\n origin='*',\n methods=['POST', 'PUT'],\n headers=['Content-Type', 'Authorization']\n )\n\nOptions\n~~~~~~~\n\n- ``origin``: URI that may access this application\n- ``credentials``: indicates that the request can be made using credentials\n- ``headers``: list of headers that may be used when accessing this application\n- ``methods``: list of methods allowed to access this application\n- ``expose_headers``: list of headers to be exposed to the browser\n- ``max_age``: number of seconds a preflight request may be cached\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/moritzmhmk/wsgi-cors-middleware/archive/v0.0.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/moritzmhmk/wsgi-cors-middleware", "keywords": "wsgi", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wsgi_cors_middleware", "package_url": "https://pypi.org/project/wsgi_cors_middleware/", "platform": "", "project_url": "https://pypi.org/project/wsgi_cors_middleware/", "project_urls": { "Download": "https://github.com/moritzmhmk/wsgi-cors-middleware/archive/v0.0.2.tar.gz", "Homepage": "https://github.com/moritzmhmk/wsgi-cors-middleware" }, "release_url": "https://pypi.org/project/wsgi_cors_middleware/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Cross Origin Resource Sharing (CORS) Middleware for WSGI Applications.", "version": "0.0.2" }, "last_serial": 3714559, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "a5d0b127f7cee681a18f33b93d9d7764", "sha256": "1470e3cfb46e58e2bb3de976688cb1a6571a694fefb27ba2ff5d7bb850083052" }, "downloads": -1, "filename": "wsgi-cors-middleware-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a5d0b127f7cee681a18f33b93d9d7764", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2709, "upload_time": "2018-03-28T17:28:31", "url": "https://files.pythonhosted.org/packages/ae/e8/b57c8fe4cd76bce850a7038ef27f7d1c9f1110df121a91f0251083fb038b/wsgi-cors-middleware-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5d0b127f7cee681a18f33b93d9d7764", "sha256": "1470e3cfb46e58e2bb3de976688cb1a6571a694fefb27ba2ff5d7bb850083052" }, "downloads": -1, "filename": "wsgi-cors-middleware-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a5d0b127f7cee681a18f33b93d9d7764", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2709, "upload_time": "2018-03-28T17:28:31", "url": "https://files.pythonhosted.org/packages/ae/e8/b57c8fe4cd76bce850a7038ef27f7d1c9f1110df121a91f0251083fb038b/wsgi-cors-middleware-0.0.2.tar.gz" } ] }